Class RequestedProofTokenImpl
- java.lang.Object
-
- com.sun.xml.ws.security.trust.impl.bindings.RequestedProofTokenType
-
- com.sun.xml.ws.security.trust.impl.elements.RequestedProofTokenImpl
-
- All Implemented Interfaces:
RequestedProofToken
public class RequestedProofTokenImpl extends RequestedProofTokenType implements RequestedProofToken
- Author:
- Manveen Kaur
-
-
Field Summary
-
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.RequestedProofTokenType
any
-
Fields 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 Constructor Description RequestedProofTokenImpl()RequestedProofTokenImpl(RequestedProofTokenType rptType)RequestedProofTokenImpl(String proofTokenType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestedProofTokenTypefromElement(Element element)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 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 Token-
Methods inherited from class com.sun.xml.ws.security.trust.impl.bindings.RequestedProofTokenType
getAny, setAny
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.xml.ws.security.trust.elements.RequestedProofToken
getAny, setAny
-
-
-
-
Constructor Detail
-
RequestedProofTokenImpl
public RequestedProofTokenImpl()
-
RequestedProofTokenImpl
public RequestedProofTokenImpl(String proofTokenType)
-
RequestedProofTokenImpl
public RequestedProofTokenImpl(RequestedProofTokenType rptType)
-
-
Method Detail
-
getProofTokenType
public String getProofTokenType()
Description copied from interface:RequestedProofTokenGet the type of ProofToken present in this RequestedProofToken Instance- Specified by:
getProofTokenTypein interfaceRequestedProofToken
-
setProofTokenType
public final void setProofTokenType(@NotNull String proofTokenType)Description copied from interface:RequestedProofTokenSet the type of ProofToken present in this RequestedProofToken Instance- Specified by:
setProofTokenTypein interfaceRequestedProofToken- See Also:
RequestedProofToken.getProofTokenType()
-
setSecurityTokenReference
public void setSecurityTokenReference(SecurityTokenReference reference)
Description copied from interface:RequestedProofTokenSet a SecurityTokenReference as the Proof Token- Specified by:
setSecurityTokenReferencein interfaceRequestedProofToken
-
getSecurityTokenReference
public SecurityTokenReference getSecurityTokenReference()
Description copied from interface:RequestedProofTokenGets the SecrityTokenReference if set- Specified by:
getSecurityTokenReferencein interfaceRequestedProofToken- Returns:
- SecurityTokenReference if set, null otherwise
-
setComputedKey
public final void setComputedKey(@NotNull URI computedKey)Description copied from interface:RequestedProofTokenSets the Computed Key URI (describing how to compute the Key)- Specified by:
setComputedKeyin interfaceRequestedProofToken
-
getComputedKey
public URI 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
public final void setBinarySecret(BinarySecret secret)
Description copied from interface:RequestedProofTokenSets a wst:BinarySecret as the Proof Token- Specified by:
setBinarySecretin interfaceRequestedProofToken
-
getBinarySecret
public BinarySecret getBinarySecret()
Description copied from interface:RequestedProofTokenGets the BinarySecret proof Token if set- Specified by:
getBinarySecretin interfaceRequestedProofToken- Returns:
- BinarySecret if set, null otherwise
-
fromElement
public static RequestedProofTokenType fromElement(Element element) throws WSTrustException
- Throws:
WSTrustException
-
-