com.sun.xml.ws.security.trust.elements
Interface Encryption

All Known Implementing Classes:
EncryptionImpl, EncryptionImpl

public interface Encryption


Method Summary
 java.lang.Object getAny()
          Gets the value of the any property.
 SecurityTokenReference getSecurityTokenReference()
          Get the STR contained in this Encryption Type
 java.lang.String getTargetType()
          Get the type of the Encryption information item
 com.sun.xml.ws.security.Token getToken()
          Get the Token contained in this Encryption instance
 void setAny(java.lang.Object value)
          Sets the value of the any property.
 void setSecurityTokenReference(SecurityTokenReference ref)
          Set the STR for the Token as the contents of Encryption
 void setToken(com.sun.xml.ws.security.Token token)
          Set the Token as the contents of Encryption
 

Method Detail

getTargetType

java.lang.String getTargetType()
Get the type of the Encryption information item


getAny

java.lang.Object getAny()
Gets the value of the any property.

Returns:
possible object is Element Object

setAny

void setAny(java.lang.Object value)
Sets the value of the any property.

Parameters:
value - allowed object is Element Object

setSecurityTokenReference

void setSecurityTokenReference(SecurityTokenReference ref)
Set the STR for the Token as the contents of Encryption


getSecurityTokenReference

SecurityTokenReference getSecurityTokenReference()
Get the STR contained in this Encryption Type


setToken

void setToken(com.sun.xml.ws.security.Token token)
Set the Token as the contents of Encryption


getToken

com.sun.xml.ws.security.Token getToken()
Get the Token contained in this Encryption instance