Package | Description |
---|---|
org.openid4java.association | |
org.openid4java.consumer |
Provides functionality for OpenID-enabling Consumer (Relying Party) sites.
|
org.openid4java.message | |
org.openid4java.server |
Offers support for implementing an OpenID Provider server.
|
Modifier and Type | Field and Description |
---|---|
private AssociationSessionType |
DiffieHellmanSession._type |
static AssociationSessionType |
AssociationSessionType.DH_COMPAT_SHA1 |
static AssociationSessionType |
AssociationSessionType.DH_SHA1 |
static AssociationSessionType |
AssociationSessionType.DH_SHA256 |
static AssociationSessionType |
AssociationSessionType.NO_ENCRYPTION_COMPAT_SHA1MAC |
static AssociationSessionType |
AssociationSessionType.NO_ENCRYPTION_SHA1MAC |
static AssociationSessionType |
AssociationSessionType.NO_ENCRYPTION_SHA256MAC |
Modifier and Type | Method and Description |
---|---|
static AssociationSessionType |
AssociationSessionType.create(java.lang.String sessType)
Creates a OpenID 2 AssociationSessionType with the specified session type
and HMAC-SHA1 association type.
|
static AssociationSessionType |
AssociationSessionType.create(java.lang.String sessType,
java.lang.String assocType)
Creates a OpenID 2 AssociationSessionType with the specified session and
association types.
|
static AssociationSessionType |
AssociationSessionType.create(java.lang.String sessType,
java.lang.String assocType,
boolean compatibility)
Creates a AssociationSessionType with the specified session and
association types.
|
AssociationSessionType |
DiffieHellmanSession.getType() |
Modifier and Type | Method and Description |
---|---|
static DiffieHellmanSession |
DiffieHellmanSession.create(AssociationSessionType type,
javax.crypto.spec.DHParameterSpec dhParameterSpec) |
static DiffieHellmanSession |
DiffieHellmanSession.create(AssociationSessionType type,
java.lang.String modulusBase64,
java.lang.String generatorBase64) |
boolean |
AssociationSessionType.isBetter(AssociationSessionType other)
Returns true if the specified argument's encryption level is considered
better than the one of the current instance.
|
static boolean |
DiffieHellmanSession.isDhSupported(AssociationSessionType type) |
Constructor and Description |
---|
DiffieHellmanSession(AssociationSessionType type,
javax.crypto.spec.DHParameterSpec dhParameterSpec) |
Modifier and Type | Field and Description |
---|---|
private AssociationSessionType |
ConsumerManager._minAssocSessEnc
The lowest encryption level session accepted for association sessions.
|
private AssociationSessionType |
ConsumerManager._prefAssocSessEnc
The preferred association session type; will be attempted first.
|
Modifier and Type | Method and Description |
---|---|
AssociationSessionType |
ConsumerManager.getMinAssocSessEnc()
Gets the minimum level of encryption that will be accepted for
association sessions.
|
AssociationSessionType |
ConsumerManager.getPrefAssocSessEnc()
Gets the preferred encryption type for the association sessions.
|
Modifier and Type | Method and Description |
---|---|
private AssociationRequest |
ConsumerManager.createAssociationRequest(AssociationSessionType type,
java.net.URL opUrl)
Constructs an Association Request message of the specified session and
association type, taking into account the user preferences (encryption
level, default Diffie-Hellman parameters).
|
void |
ConsumerManager.setMinAssocSessEnc(AssociationSessionType minAssocSessEnc)
Configures the minimum level of encryption accepted for association
sessions.
|
void |
ConsumerManager.setPrefAssocSessEnc(AssociationSessionType prefAssocSessEnc)
Sets the preferred encryption type for the association sessions.
|
Modifier and Type | Method and Description |
---|---|
AssociationSessionType |
AssociationResponse.getType()
Gets the association / session type of the association response.
|
AssociationSessionType |
AssociationRequest.getType()
Gets the association / session type of the association request.
|
Modifier and Type | Method and Description |
---|---|
static AssociationError |
AssociationError.createAssociationError(java.lang.String msg,
AssociationSessionType type) |
static AssociationRequest |
AssociationRequest.createAssociationRequest(AssociationSessionType type) |
static AssociationRequest |
AssociationRequest.createAssociationRequest(AssociationSessionType type,
DiffieHellmanSession dhSess) |
void |
AssociationError.setAssociationSessionType(AssociationSessionType type) |
void |
AssociationResponse.setType(AssociationSessionType type)
Sets the association / session type for the association response.
|
Constructor and Description |
---|
AssociationError(java.lang.String msg,
AssociationSessionType type) |
AssociationRequest(AssociationSessionType type)
Creates an Association Request message with the
specified association type and "no-encryption" session.
|
AssociationRequest(AssociationSessionType type,
DiffieHellmanSession dhSess)
Constructs an AssociationRequest message with the
specified association type and Diffie-Hellman session.
|
Modifier and Type | Field and Description |
---|---|
private AssociationSessionType |
ServerManager._minAssocSessEnc
The lowest encryption level session accepted for association sessions
|
private AssociationSessionType |
ServerManager._prefAssocSessEnc
The preferred association session type; will be attempted first.
|
Modifier and Type | Method and Description |
---|---|
AssociationSessionType |
ServerManager.getMinAssocSessEnc()
Gets the minimum level of encryption configured for association sessions.
|
AssociationSessionType |
ServerManager.getPrefAssocSessEnc()
Gets the preferred association / session type.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerManager.setMinAssocSessEnc(AssociationSessionType minAssocSessEnc)
Configures the minimum level of encryption accepted for association
sessions.
|
void |
ServerManager.setPrefAssocSessEnc(AssociationSessionType type)
Sets the preferred association / session type.
|
Copyright 2006-2008 Sxip Identity Corporation