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 |
---|---|
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(String sessType)
Creates a OpenID 2 AssociationSessionType with the specified session type
and HMAC-SHA1 association type.
|
static AssociationSessionType |
AssociationSessionType.create(String sessType,
String assocType)
Creates a OpenID 2 AssociationSessionType with the specified session and
association types.
|
static AssociationSessionType |
AssociationSessionType.create(String sessType,
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,
DHParameterSpec dhParameterSpec) |
static DiffieHellmanSession |
DiffieHellmanSession.create(AssociationSessionType type,
String modulusBase64,
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) |
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 |
---|---|
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 |
AssociationRequest.getType()
Gets the association / session type of the association request.
|
AssociationSessionType |
AssociationResponse.getType()
Gets the association / session type of the association response.
|
Modifier and Type | Method and Description |
---|---|
static AssociationError |
AssociationError.createAssociationError(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(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 | 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 © 2017 Sxip. All rights reserved.