|
Tsukuyomi OpenID 0.2.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.sourceforge.tsukuyomi.openid.message.Message
jp.sourceforge.tsukuyomi.openid.message.AssociationRequest
public class AssociationRequest
The OpenID Association Request message.
Handles OpenID 2.0 and OpenID 1.x messages.
AssociationSessionType| フィールドの概要 | |
|---|---|
static String |
MODE_ASSOC
|
protected static List<String> |
OPTIONAL_FIELDS
|
protected static List<String> |
REQUIRED_FIELDS
|
| クラス jp.sourceforge.tsukuyomi.openid.message.Message から継承されたフィールド |
|---|
destinationUrl, MODE_CANCEL, MODE_IDRES, MODE_SETUP_NEEDED, OPENID2_NS |
| コンストラクタの概要 | |
|---|---|
protected |
AssociationRequest(AssociationSessionType type)
Creates an Association Request message with the specified association type and "no-encryption" session. |
protected |
AssociationRequest(AssociationSessionType type,
DiffieHellmanSession dhSess)
Constructs an AssociationRequest message with the specified association type and Diffie-Hellman session. |
protected |
AssociationRequest(ParameterList params)
Constructs an AssociationRequest message from a parameter list. |
| メソッドの概要 | |
|---|---|
static AssociationRequest |
createAssociationRequest(AssociationSessionType type)
|
static AssociationRequest |
createAssociationRequest(AssociationSessionType type,
DiffieHellmanSession dhSess)
|
static AssociationRequest |
createAssociationRequest(ParameterList params)
|
String |
getDhGen()
Gets the Diffie-Hellman generator parameter of the message, or null for messages with no-encryption sessions. |
String |
getDhModulus()
Gets the Diffie-Hellman modulus parameter of the message, or null for messages with no-encryption sessions. |
String |
getDhPublicKey()
Gets the Relying Party's (consumer) Diffie-Hellman public key, or null for messages with no-encryption sessions. |
DiffieHellmanSession |
getDHSess()
Gets the Diffie-Hellman session Null for no-encryption association requests. |
List<String> |
getRequiredFields()
|
AssociationSessionType |
getType()
Gets the association / session type of the association request. |
boolean |
isValid()
Checks if the message is a valid OpenID Association Request. |
boolean |
isVersion2()
Returns true for OpenID 2.0 messages, false otherwise. |
| クラス jp.sourceforge.tsukuyomi.openid.message.Message から継承されたメソッド |
|---|
addExtension, addExtensionFactory, createMessage, createMessage, getDestinationUrl, getExtension, getExtensionAlias, getExtensionFactory, getExtensions, getParameter, getParameterMap, getParameters, getParameterValue, hasExtension, hasExtensionFactory, hasParameter, keyValueFormEncoding, set, wwwFormEncoding |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final String MODE_ASSOC
protected static final List<String> REQUIRED_FIELDS
protected static final List<String> OPTIONAL_FIELDS
| コンストラクタの詳細 |
|---|
protected AssociationRequest(AssociationSessionType type)
The supplied type must be one of the "no-encryption" types, otherwise a DiffieHellman session is required.
AssociationRequest(AssociationSessionType, DiffieHellmanSession)
protected AssociationRequest(AssociationSessionType type,
DiffieHellmanSession dhSess)
dhSess - Diffie-Hellman session to be used for this association; if
null, a "no-encryption" session is created.protected AssociationRequest(ParameterList params)
Useful for processing incoming messages.
| メソッドの詳細 |
|---|
public static AssociationRequest createAssociationRequest(AssociationSessionType type)
throws MessageException
MessageException
public static AssociationRequest createAssociationRequest(AssociationSessionType type,
DiffieHellmanSession dhSess)
throws MessageException
MessageException
public static AssociationRequest createAssociationRequest(ParameterList params)
throws MessageException
MessageExceptionpublic List<String> getRequiredFields()
Message 内の getRequiredFieldspublic boolean isVersion2()
public AssociationSessionType getType()
throws AssociationException
AssociationExceptionpublic DiffieHellmanSession getDHSess()
public String getDhModulus()
public String getDhGen()
public String getDhPublicKey()
public boolean isValid()
Message 内の isValid
|
Tsukuyomi OpenID 0.2.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||