Class UseKeyImpl
- java.lang.Object
-
- com.sun.xml.ws.security.trust.impl.wssx.bindings.UseKeyType
-
- com.sun.xml.ws.security.trust.impl.wssx.elements.UseKeyImpl
-
- All Implemented Interfaces:
UseKey
public class UseKeyImpl extends UseKeyType implements UseKey
- Author:
- Manveen Kaur
-
-
Field Summary
-
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.UseKeyType
any, sig
-
-
Constructor Summary
Constructors Constructor Description UseKeyImpl(Token token)UseKeyImpl(SecurityTokenReference str)UseKeyImpl(UseKeyType ukType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityTokenReferencegetSecurityTokenReference()URIgetSignatureID()get the Sig attribute value if set, null otherwiseStringgetTargetType()TokengetToken()Get the Token contained in the element, null otherwise.voidsetSecurityTokenReference(SecurityTokenReference ref)voidsetSignatureID(URI sigID)Set the option Sig attribute of UseKeyvoidsetTargetType(String ttype)voidsetToken(Token token)Set the Token as the contents of UseKey-
Methods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.UseKeyType
getAny, getSig, setAny, setSig
-
-
-
-
Constructor Detail
-
UseKeyImpl
public UseKeyImpl(Token token)
-
UseKeyImpl
public UseKeyImpl(SecurityTokenReference str)
-
UseKeyImpl
public UseKeyImpl(UseKeyType ukType) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getTargetType
public String getTargetType()
-
setTargetType
public void setTargetType(String ttype)
-
setSecurityTokenReference
public void setSecurityTokenReference(SecurityTokenReference ref)
-
getSecurityTokenReference
public SecurityTokenReference getSecurityTokenReference()
-
setToken
public void setToken(Token token)
Description copied from interface:UseKeySet the Token as the contents of UseKey
-
getToken
public Token getToken()
Description copied from interface:UseKeyGet the Token contained in the element, null otherwise.
-
setSignatureID
public void setSignatureID(URI sigID)
Description copied from interface:UseKeySet the option Sig attribute of UseKey- Specified by:
setSignatureIDin interfaceUseKey
-
getSignatureID
public URI getSignatureID()
Description copied from interface:UseKeyget the Sig attribute value if set, null otherwise- Specified by:
getSignatureIDin interfaceUseKey
-
-