Class RequestedProofTokenImpl
java.lang.Object
com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestedProofTokenType
com.sun.xml.ws.security.trust.impl.wssx.elements.RequestedProofTokenImpl
- All Implemented Interfaces:
RequestedProofToken
- Author:
- Manveen Kaur
-
Field Summary
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestedProofTokenType
anyFields inherited from interface com.sun.xml.ws.security.trust.elements.RequestedProofToken
BINARY_SECRET_TYPE, COMPUTED_KEY_TYPE, CUSTOM_TYPE, ENCRYPTED_KEY_TYPE, TOKEN_REF_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestedProofTokenTypefromElement(Element element) Gets the BinarySecret proof Token if setGet the Computed Key URI (describing how to compute the Key)Get the type of ProofToken present in this RequestedProofToken InstanceGets the SecrityTokenReference if setvoidsetBinarySecret(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 TokenMethods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestedProofTokenType
getAny, setAnyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.ws.security.trust.elements.RequestedProofToken
getAny, setAny
-
Constructor Details
-
RequestedProofTokenImpl
public RequestedProofTokenImpl() -
RequestedProofTokenImpl
-
RequestedProofTokenImpl
-
-
Method Details
-
getProofTokenType
Description copied from interface:RequestedProofTokenGet the type of ProofToken present in this RequestedProofToken Instance- Specified by:
getProofTokenTypein interfaceRequestedProofToken
-
setProofTokenType
Description copied from interface:RequestedProofTokenSet the type of ProofToken present in this RequestedProofToken Instance- Specified by:
setProofTokenTypein interfaceRequestedProofToken- See Also:
-
setSecurityTokenReference
Description copied from interface:RequestedProofTokenSet a SecurityTokenReference as the Proof Token- Specified by:
setSecurityTokenReferencein interfaceRequestedProofToken
-
getSecurityTokenReference
Description copied from interface:RequestedProofTokenGets the SecrityTokenReference if set- Specified by:
getSecurityTokenReferencein interfaceRequestedProofToken- Returns:
- SecurityTokenReference if set, null otherwise
-
setComputedKey
Description copied from interface:RequestedProofTokenSets the Computed Key URI (describing how to compute the Key)- Specified by:
setComputedKeyin interfaceRequestedProofToken
-
getComputedKey
Description copied from interface:RequestedProofTokenGet the Computed Key URI (describing how to compute the Key)- Specified by:
getComputedKeyin interfaceRequestedProofToken- Returns:
- computed key URI or null if none is set
-
setBinarySecret
Description copied from interface:RequestedProofTokenSets a wst:BinarySecret as the Proof Token- Specified by:
setBinarySecretin interfaceRequestedProofToken
-
getBinarySecret
Description copied from interface:RequestedProofTokenGets the BinarySecret proof Token if set- Specified by:
getBinarySecretin interfaceRequestedProofToken- Returns:
- BinarySecret if set, null otherwise
-
fromElement
- Throws:
WSTrustException
-