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 | 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) |
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.
|
byte[] |
DiffieHellmanSession.decryptMacKey(java.lang.String encMacKeyBase64,
java.lang.String serverPublicKeyBase64)
Decrypts the association AMC key.
|
java.lang.String |
DiffieHellmanSession.encryptMacKey(byte[] macKey,
java.lang.String consumerPublicKeyBase64)
Encrypts the association MAC key.
|
static Association |
Association.generate(java.lang.String type,
java.lang.String handle,
int expiryIn) |
protected byte[] |
Association.sign(byte[] data) |
java.lang.String |
Association.sign(java.lang.String text) |
boolean |
Association.verifySignature(java.lang.String text,
java.lang.String signature) |
Constructor and Description |
---|
DiffieHellmanSession(AssociationSessionType type,
javax.crypto.spec.DHParameterSpec dhParameterSpec) |
Modifier and Type | Method and Description |
---|---|
VerificationResult |
ConsumerManager.verify(java.lang.String receivingUrl,
ParameterList response,
DiscoveryInformation discovered)
Performs verification on the Authentication Response (assertion)
received from the OpenID Provider.
|
private VerificationResult |
ConsumerManager.verifySignature(AuthSuccess authResp,
DiscoveryInformation discovered,
VerificationResult result)
Verifies the signature in a authentication response message.
|
Modifier and Type | Method and Description |
---|---|
static AssociationResponse |
AssociationResponse.createAssociationResponse(AssociationRequest assocReq,
Association assoc) |
static AuthSuccess |
AuthSuccess.createAuthSuccess(java.lang.String opEndpoint,
java.lang.String claimedId,
java.lang.String delegate,
boolean compatibility,
java.lang.String returnTo,
java.lang.String nonce,
java.lang.String invalidateHandle,
Association assoc,
boolean signNow) |
Association |
AssociationResponse.getAssociation(DiffieHellmanSession dhSess)
Generates an Association object from an Association Response.
|
AssociationSessionType |
AssociationRequest.getType()
Gets the association / session type of the association request.
|
AssociationSessionType |
AssociationResponse.getType()
Gets the association / session type of the association response.
|
Constructor and Description |
---|
AssociationResponse(AssociationRequest assocReq,
Association assoc)
Constructs an AssociationResponse for a given association request.
|
AuthSuccess(java.lang.String opEndpoint,
java.lang.String claimedId,
java.lang.String delegate,
boolean compatibility,
java.lang.String returnTo,
java.lang.String nonce,
java.lang.String invalidateHandle,
Association assoc,
boolean signNow) |
Modifier and Type | Method and Description |
---|---|
Association |
JdbcServerAssociationStore.generate(java.lang.String type,
int expiryIn) |
Association |
ServerAssociationStore.generate(java.lang.String type,
int expiryIn) |
Association |
InMemoryServerAssociationStore.generate(java.lang.String type,
int expiryIn) |
void |
ServerManager.sign(AuthSuccess authSuccess)
Signs an AuthSuccess message, using the association identified by the
handle specified within the message.
|
Copyright 2006-2008 Sxip Identity Corporation