com.sun.xml.ws.security.trust.impl.elements
Class RequestedProofTokenImpl

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.bindings.RequestedProofTokenType
      extended by com.sun.xml.ws.security.trust.impl.elements.RequestedProofTokenImpl
All Implemented Interfaces:
RequestedProofToken

public class RequestedProofTokenImpl
extends com.sun.xml.ws.security.trust.impl.bindings.RequestedProofTokenType
implements RequestedProofToken


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
RequestedProofTokenImpl()
           
RequestedProofTokenImpl(com.sun.xml.ws.security.trust.impl.bindings.RequestedProofTokenType rptType)
           
RequestedProofTokenImpl(java.lang.String proofTokenType)
           
 
Method Summary
static com.sun.xml.ws.security.trust.impl.bindings.RequestedProofTokenType fromElement(org.w3c.dom.Element element)
           
 BinarySecret getBinarySecret()
          Gets the BinarySecret proof Token if set
 java.net.URI getComputedKey()
          Get the Computed Key URI (describing how to compute the Key)
 java.lang.String getProofTokenType()
          Get the type of ProofToken present in this RequestedProofToken Instance
 SecurityTokenReference getSecurityTokenReference()
          Gets the SecrityTokenReference if set
 void setBinarySecret(BinarySecret secret)
          Sets a wst:BinarySecret as the Proof Token
 void setComputedKey(java.net.URI computedKey)
          Sets the Computed Key URI (describing how to compute the Key)
 void setProofTokenType(java.lang.String proofTokenType)
          Set the type of ProofToken present in this RequestedProofToken Instance
 void setSecurityTokenReference(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(java.lang.String proofTokenType)

RequestedProofTokenImpl

public RequestedProofTokenImpl(com.sun.xml.ws.security.trust.impl.bindings.RequestedProofTokenType rptType)
Method Detail

getProofTokenType

public java.lang.String getProofTokenType()
Description copied from interface: RequestedProofToken
Get the type of ProofToken present in this RequestedProofToken Instance

Specified by:
getProofTokenType in interface RequestedProofToken

setProofTokenType

public final void setProofTokenType(@NotNull
                                    java.lang.String proofTokenType)
Description copied from interface: RequestedProofToken
Set the type of ProofToken present in this RequestedProofToken Instance

Specified by:
setProofTokenType in interface RequestedProofToken
See Also:
getProofTokenType

setSecurityTokenReference

public void setSecurityTokenReference(SecurityTokenReference reference)
Description copied from interface: RequestedProofToken
Set a SecurityTokenReference as the Proof Token

Specified by:
setSecurityTokenReference in interface RequestedProofToken

getSecurityTokenReference

public SecurityTokenReference getSecurityTokenReference()
Description copied from interface: RequestedProofToken
Gets the SecrityTokenReference if set

Specified by:
getSecurityTokenReference in interface RequestedProofToken
Returns:
SecurityTokenReference if set, null otherwise

setComputedKey

public final void setComputedKey(@NotNull
                                 java.net.URI computedKey)
Description copied from interface: RequestedProofToken
Sets the Computed Key URI (describing how to compute the Key)

Specified by:
setComputedKey in interface RequestedProofToken

getComputedKey

public java.net.URI getComputedKey()
Description copied from interface: RequestedProofToken
Get the Computed Key URI (describing how to compute the Key)

Specified by:
getComputedKey in interface RequestedProofToken
Returns:
computed key URI or null if none is set

setBinarySecret

public final void setBinarySecret(BinarySecret secret)
Description copied from interface: RequestedProofToken
Sets a wst:BinarySecret as the Proof Token

Specified by:
setBinarySecret in interface RequestedProofToken

getBinarySecret

public BinarySecret getBinarySecret()
Description copied from interface: RequestedProofToken
Gets the BinarySecret proof Token if set

Specified by:
getBinarySecret in interface RequestedProofToken
Returns:
BinarySecret if set, null otherwise

fromElement

public static com.sun.xml.ws.security.trust.impl.bindings.RequestedProofTokenType fromElement(org.w3c.dom.Element element)
                                                                                       throws WSTrustException
Throws:
WSTrustException