Interface RequestedProofToken
-
public interface RequestedProofToken- Author:
- WS-Trust Implementation Team.
-
-
Field Summary
Fields Modifier and Type Field Description static StringBINARY_SECRET_TYPEstatic StringCOMPUTED_KEY_TYPEconstants indicating type of Proof Tokenstatic StringCUSTOM_TYPEstatic StringENCRYPTED_KEY_TYPEstatic StringTOKEN_REF_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetAny()Gets the value of the any property.BinarySecretgetBinarySecret()Gets the BinarySecret proof Token if setURIgetComputedKey()Get the Computed Key URI (describing how to compute the Key)StringgetProofTokenType()Get the type of ProofToken present in this RequestedProofToken InstanceSecurityTokenReferencegetSecurityTokenReference()Gets the SecrityTokenReference if setvoidsetAny(Object value)Sets the value of the any property.voidsetBinarySecret(BinarySecret secret)Sets a wst:BinarySecret as the Proof TokenvoidsetComputedKey(URI computedKey)Sets the Computed Key URI (describing how to compute the Key)voidsetProofTokenType(String proofTokenType)Set the type of ProofToken present in this RequestedProofToken InstancevoidsetSecurityTokenReference(SecurityTokenReference reference)Set a SecurityTokenReference as the Proof Token
-
-
-
Field Detail
-
COMPUTED_KEY_TYPE
static final String COMPUTED_KEY_TYPE
constants indicating type of Proof Token- See Also:
getProofTokenType(), Constant Field Values
-
TOKEN_REF_TYPE
static final String TOKEN_REF_TYPE
- See Also:
- Constant Field Values
-
ENCRYPTED_KEY_TYPE
static final String ENCRYPTED_KEY_TYPE
- See Also:
- Constant Field Values
-
BINARY_SECRET_TYPE
static final String BINARY_SECRET_TYPE
- See Also:
- Constant Field Values
-
CUSTOM_TYPE
static final String CUSTOM_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProofTokenType
String getProofTokenType()
Get the type of ProofToken present in this RequestedProofToken Instance
-
setProofTokenType
void setProofTokenType(String proofTokenType)
Set the type of ProofToken present in this RequestedProofToken Instance- See Also:
getProofTokenType()
-
getAny
Object getAny()
Gets the value of the any property.- Returns:
- possible object is
ElementObject
-
setAny
void setAny(Object value)
Sets the value of the any property.- Parameters:
value- allowed object isElementObject
-
setSecurityTokenReference
void setSecurityTokenReference(SecurityTokenReference reference)
Set a SecurityTokenReference as the Proof Token
-
getSecurityTokenReference
SecurityTokenReference getSecurityTokenReference()
Gets the SecrityTokenReference if set- Returns:
- SecurityTokenReference if set, null otherwise
-
setComputedKey
void setComputedKey(URI computedKey)
Sets the Computed Key URI (describing how to compute the Key)
-
getComputedKey
URI getComputedKey()
Get the Computed Key URI (describing how to compute the Key)- Returns:
- computed key URI or null if none is set
-
setBinarySecret
void setBinarySecret(BinarySecret secret)
Sets a wst:BinarySecret as the Proof Token
-
getBinarySecret
BinarySecret getBinarySecret()
Gets the BinarySecret proof Token if set- Returns:
- BinarySecret if set, null otherwise
-
-