Class EncryptionImpl
- java.lang.Object
-
- com.sun.xml.ws.security.trust.impl.bindings.EncryptionType
-
- com.sun.xml.ws.security.trust.impl.elements.EncryptionImpl
-
- All Implemented Interfaces:
Encryption
public class EncryptionImpl extends EncryptionType implements Encryption
- Author:
- Manveen Kaur
-
-
Field Summary
-
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.EncryptionType
any
-
-
Constructor Summary
Constructors Constructor Description EncryptionImpl(Token token)EncryptionImpl(SecurityTokenReference str)EncryptionImpl(EncryptionType encType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityTokenReferencegetSecurityTokenReference()Get the STR contained in this Encryption TypeStringgetTargetType()Get the type of the Encryption information itemTokengetToken()Get the Token contained in this Encryption instancevoidsetSecurityTokenReference(SecurityTokenReference ref)Set the STR for the Token as the contents of EncryptionvoidsetTargetType(String ttype)voidsetToken(Token token)Set the Token as the contents of Encryption-
Methods inherited from class com.sun.xml.ws.security.trust.impl.bindings.EncryptionType
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.Encryption
getAny, setAny
-
-
-
-
Constructor Detail
-
EncryptionImpl
public EncryptionImpl(SecurityTokenReference str)
-
EncryptionImpl
public EncryptionImpl(Token token)
-
EncryptionImpl
public EncryptionImpl(EncryptionType encType)
-
-
Method Detail
-
getTargetType
public String getTargetType()
Description copied from interface:EncryptionGet the type of the Encryption information item- Specified by:
getTargetTypein interfaceEncryption
-
setTargetType
public final void setTargetType(String ttype)
-
setSecurityTokenReference
public final void setSecurityTokenReference(SecurityTokenReference ref)
Description copied from interface:EncryptionSet the STR for the Token as the contents of Encryption- Specified by:
setSecurityTokenReferencein interfaceEncryption
-
getSecurityTokenReference
public SecurityTokenReference getSecurityTokenReference()
Description copied from interface:EncryptionGet the STR contained in this Encryption Type- Specified by:
getSecurityTokenReferencein interfaceEncryption
-
setToken
public final void setToken(Token token)
Description copied from interface:EncryptionSet the Token as the contents of Encryption- Specified by:
setTokenin interfaceEncryption
-
getToken
public Token getToken()
Description copied from interface:EncryptionGet the Token contained in this Encryption instance- Specified by:
getTokenin interfaceEncryption
-
-