gnu.javax.crypto.sasl.srp

Interface SRPRegistry

public interface SRPRegistry

A list of key names designating the values exchanged between the server and client in an SRP communication authentication phase.

Field Summary

static String
AES
static String
AVAILABLE_OPTIONS
The list of server's available security options.
static String
BLOWFISH
static String
CHOSEN_OPTIONS
The client's chosen security options.
static String
CLIENT_EVIDENCE
The client's evidence: M1.
static String
CLIENT_PUBLIC_KEY
The client's public ephemeral exponent: A.
static String[]
CONFIDENTIALITY_ALGORITHMS
Available Cipher algorithms for confidentiality protection.
static String
CONFIG_NDX_FIELD
Name of the SHELL field in the plain password file.
static boolean
DEFAULT_CONFIDENTIALITY
Default value for confidentiality protection security service.
static boolean
DEFAULT_INTEGRITY
Default value for integrity protection security service.
static String
DEFAULT_MANDATORY
Default mandatory security service required.
static String
DEFAULT_PASSWORD_FILE
Default fully qualified pathname of the SRP password file.
static boolean
DEFAULT_REPLAY_DETECTION
Default value for replay detection security service.
static String
FIELD_GENERATOR
The GF generator used: g.
static String
HMAC_MD5
static String
HMAC_RIPEMD_160
static String
HMAC_SHA1
static String[]
INTEGRITY_ALGORITHMS
Available HMAC algorithms for integrity protection.
static String
MANDATORY_NONE
String for no mandatory security service.
static String
MD_NAME_FIELD
Name of the UID field in the plain password file.
static int
MINIMUM_MODULUS_BITLENGTH
Minimum bitlength of the SRP public modulus.
static String
N_1024_BITS
static String
N_1280_BITS
static String
N_1536_BITS
static String
N_2048_BITS
Indices of (N, g) parameter values for SRP (.conf) password database.
static String
N_512_BITS
static String
N_640_BITS
static String
N_768_BITS
static String
OPTION_CONFIDENTIALITY
String for mandatory confidentiality protection.
static String
OPTION_INTEGRITY
String for mandatory integrity protection.
static String
OPTION_MANDATORY
String for mandatory replay detection.
static String
OPTION_MAX_BUFFER_SIZE
String for mandatory replay detection.
static String
OPTION_REPLAY_DETECTION
String for mandatory replay detection.
static String
OPTION_SRP_DIGEST
String for mda: the SRP digest algorithm name.
static String
PASSWORD_DB
Name of the SRP password database property --a reference to PasswordFile object.
static String
PASSWORD_FILE
Name of the main SRP password file pathname property.
static String
PASSWORD_VERIFIER
The user's password verifier.
static String
SALT_FIELD
Name of the GECOS field in the plain password file.
static String
SERVER_EVIDENCE
The server's evidence: M2.
static String
SERVER_PUBLIC_KEY
The server's public ephemeral exponent: B.
static String
SHARED_MODULUS
The public shared modulus: n.
static String[]
SRP_ALGORITHMS
Available hash algorithms for all SRP calculations.
static String
SRP_CONFIDENTIALITY
Name of SRP confidentiality protection property.
static String
SRP_DEFAULT_DIGEST_NAME
The name of the default message digest algorithm to use when no name is explicitely given.
static String
SRP_DIGEST_NAME
The property name of the message digest algorithm name to use in a given SRP incarnation.
static String
SRP_HASH
Name of underlying hash algorithm for use with all SRP calculations.
static String
SRP_INTEGRITY_PROTECTION
Name of SRP integrity protection property.
static String
SRP_MANDATORY
Name of SRP mandatory service property.
static String
SRP_REPLAY_DETECTION
Name of SRP replay detection property.
static String
USER_NAME
The client's username.
static String
USER_ROLE
The client's authorization ID.
static String
USER_SALT
The user's salt.
static String
USER_VERIFIER_FIELD
Name of the GID field in the plain password file.

Field Details

AES

public static final String AES
Field Value:
"aes"

AVAILABLE_OPTIONS

public static final String AVAILABLE_OPTIONS
The list of server's available security options.
Field Value:
"srp.L"

BLOWFISH

public static final String BLOWFISH
Field Value:
"blowfish"

CHOSEN_OPTIONS

public static final String CHOSEN_OPTIONS
The client's chosen security options.
Field Value:
"srp.o"

CLIENT_EVIDENCE

public static final String CLIENT_EVIDENCE
The client's evidence: M1.
Field Value:
"srp.M1"

CLIENT_PUBLIC_KEY

public static final String CLIENT_PUBLIC_KEY
The client's public ephemeral exponent: A.
Field Value:
"srp.A"

CONFIDENTIALITY_ALGORITHMS

public static final String[] CONFIDENTIALITY_ALGORITHMS
Available Cipher algorithms for confidentiality protection.

CONFIG_NDX_FIELD

public static final String CONFIG_NDX_FIELD
Name of the SHELL field in the plain password file.
Field Value:
"srp.config.ndx"

DEFAULT_CONFIDENTIALITY

public static final boolean DEFAULT_CONFIDENTIALITY
Default value for confidentiality protection security service.
Field Value:
false

DEFAULT_INTEGRITY

public static final boolean DEFAULT_INTEGRITY
Default value for integrity protection security service.
Field Value:
true

DEFAULT_MANDATORY

public static final String DEFAULT_MANDATORY
Default mandatory security service required.
Field Value:
"replay_detection"

DEFAULT_PASSWORD_FILE

public static final String DEFAULT_PASSWORD_FILE
Default fully qualified pathname of the SRP password file.
Field Value:
"/etc/tpasswd"

DEFAULT_REPLAY_DETECTION

public static final boolean DEFAULT_REPLAY_DETECTION
Default value for replay detection security service.
Field Value:
true

FIELD_GENERATOR

public static final String FIELD_GENERATOR
The GF generator used: g.
Field Value:
"srp.g"

HMAC_MD5

public static final String HMAC_MD5
Field Value:
"hmac-md5"

HMAC_RIPEMD_160

public static final String HMAC_RIPEMD_160
Field Value:
"hmac-ripemd-160"

HMAC_SHA1

public static final String HMAC_SHA1
Field Value:
"hmac-sha1"

INTEGRITY_ALGORITHMS

public static final String[] INTEGRITY_ALGORITHMS
Available HMAC algorithms for integrity protection.

MANDATORY_NONE

public static final String MANDATORY_NONE
String for no mandatory security service.
Field Value:
"none"

MD_NAME_FIELD

public static final String MD_NAME_FIELD
Name of the UID field in the plain password file.
Field Value:
"srp.md.name"

MINIMUM_MODULUS_BITLENGTH

public static final int MINIMUM_MODULUS_BITLENGTH
Minimum bitlength of the SRP public modulus.
Field Value:
512

N_1024_BITS

public static final String N_1024_BITS
Field Value:
"4"

N_1280_BITS

public static final String N_1280_BITS
Field Value:
"3"

N_1536_BITS

public static final String N_1536_BITS
Field Value:
"2"

N_2048_BITS

public static final String N_2048_BITS
Indices of (N, g) parameter values for SRP (.conf) password database.
Field Value:
"1"

N_512_BITS

public static final String N_512_BITS
Field Value:
"7"

N_640_BITS

public static final String N_640_BITS
Field Value:
"6"

N_768_BITS

public static final String N_768_BITS
Field Value:
"5"

OPTION_CONFIDENTIALITY

public static final String OPTION_CONFIDENTIALITY
String for mandatory confidentiality protection.
Field Value:
"confidentiality"

OPTION_INTEGRITY

public static final String OPTION_INTEGRITY
String for mandatory integrity protection.
Field Value:
"integrity"

OPTION_MANDATORY

public static final String OPTION_MANDATORY
String for mandatory replay detection.
Field Value:
"mandatory"

OPTION_MAX_BUFFER_SIZE

public static final String OPTION_MAX_BUFFER_SIZE
String for mandatory replay detection.
Field Value:
"maxbuffersize"

OPTION_REPLAY_DETECTION

public static final String OPTION_REPLAY_DETECTION
String for mandatory replay detection.
Field Value:
"replay_detection"

OPTION_SRP_DIGEST

public static final String OPTION_SRP_DIGEST
String for mda: the SRP digest algorithm name.
Field Value:
"mda"

PASSWORD_DB

public static final String PASSWORD_DB
Name of the SRP password database property --a reference to PasswordFile object.
Field Value:
"gnu.crypto.sasl.srp.password.db"

PASSWORD_FILE

public static final String PASSWORD_FILE
Name of the main SRP password file pathname property.
Field Value:
"gnu.crypto.sasl.srp.password.file"

PASSWORD_VERIFIER

public static final String PASSWORD_VERIFIER
The user's password verifier.
Field Value:
"srp.v"

SALT_FIELD

public static final String SALT_FIELD
Name of the GECOS field in the plain password file.
Field Value:
"srp.salt"

SERVER_EVIDENCE

public static final String SERVER_EVIDENCE
The server's evidence: M2.
Field Value:
"srp.M2"

SERVER_PUBLIC_KEY

public static final String SERVER_PUBLIC_KEY
The server's public ephemeral exponent: B.
Field Value:
"srp.B"

SHARED_MODULUS

public static final String SHARED_MODULUS
The public shared modulus: n.
Field Value:
"srp.N"

SRP_ALGORITHMS

public static final String[] SRP_ALGORITHMS
Available hash algorithms for all SRP calculations.

SRP_CONFIDENTIALITY

public static final String SRP_CONFIDENTIALITY
Name of SRP confidentiality protection property.
Field Value:
"gnu.crypto.sasl.srp.confidentiality"

SRP_DEFAULT_DIGEST_NAME

public static final String SRP_DEFAULT_DIGEST_NAME
The name of the default message digest algorithm to use when no name is explicitely given. In this implementation it is the first among those supported; i.e. the algorithm at index position #0: SHA with 160-bit output.

SRP_DIGEST_NAME

public static final String SRP_DIGEST_NAME
The property name of the message digest algorithm name to use in a given SRP incarnation.
Field Value:
"srp.digest.name"

SRP_HASH

public static final String SRP_HASH
Name of underlying hash algorithm for use with all SRP calculations.
Field Value:
"gnu.crypto.sasl.srp.hash"

SRP_INTEGRITY_PROTECTION

public static final String SRP_INTEGRITY_PROTECTION
Name of SRP integrity protection property.
Field Value:
"gnu.crypto.sasl.srp.integrity"

SRP_MANDATORY

public static final String SRP_MANDATORY
Name of SRP mandatory service property.
Field Value:
"gnu.crypto.sasl.srp.mandatory"

SRP_REPLAY_DETECTION

public static final String SRP_REPLAY_DETECTION
Name of SRP replay detection property.
Field Value:
"gnu.crypto.sasl.srp.replay.detection"

USER_NAME

public static final String USER_NAME
The client's username.
Field Value:
"srp.U"

USER_ROLE

public static final String USER_ROLE
The client's authorization ID.
Field Value:
"srp.I"

USER_SALT

public static final String USER_SALT
The user's salt.
Field Value:
"srp.s"

USER_VERIFIER_FIELD

public static final String USER_VERIFIER_FIELD
Name of the GID field in the plain password file.
Field Value:
"srp.user.verifier"

SRPRegistry.java -- Copyright (C) 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.