FileDocCategorySizeDatePackage
UseKey.javaAPI DocExample3753Tue May 29 16:56:56 BST 2007com.sun.xml.ws.security.trust.elements

UseKey

public interface UseKey
author
WS-Trust Implementation Team

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectgetAny()
Gets the value of the any property.

return
possible object is {@link Element } {@link Object }

public com.sun.xml.ws.security.trust.elements.str.SecurityTokenReferencegetSecurityTokenReference()
Get the STR contained in this Element, null otherwise

public java.net.URIgetSignatureID()
get the Sig attribute value if set, null otherwise

public java.lang.StringgetTargetType()
Get the type of the UseKey information item

public com.sun.xml.ws.security.TokengetToken()
Get the Token contained in the element, null otherwise.

public voidsetAny(java.lang.Object value)
Sets the value of the any property.

param
value allowed object is {@link Element } {@link Object }

public voidsetSecurityTokenReference(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference ref)
Set the STR for the Token as the contents of UseKey

public voidsetSignatureID(java.net.URI sigID)
Set the option Sig attribute of UseKey

public voidsetTargetType(java.lang.String targetType)
Set the type of the DelegateTo information item

param
targetType {@link String}

public voidsetToken(com.sun.xml.ws.security.Token token)
Set the Token as the contents of UseKey