java.lang .Object com.sun.xml.wss.impl.policy .MLSPolicy com.sun.xml.wss.impl.policy.mls .WSSPolicy com.sun.xml.wss.impl.policy.mls .KeyBindingBase com.sun.xml.wss.impl.policy.mls .SymmetricKeyBinding SymmetricKeyBinding public class SymmetricKeyBinding extends KeyBindingBase (Code) A policy representing a SymmetricKey that can be used as the
KeyBinding for a SignaturePolicy or an EncryptionPolicy.
_secretKey SecretKey _secretKey (Code)
_useReceivedSecret boolean _useReceivedSecret (Code)
SymmetricKeyBinding public SymmetricKeyBinding()(Code) Default constructor
SymmetricKeyBinding public SymmetricKeyBinding(String keyIdentifier, String keyAlgorithm)(Code) Parameters: keyIdentifier - identifier for KeyParameters: keyAlgorithm - Key Algorithm
clone public Object clone()(Code) Clone operator
clone of this policy
equals public boolean equals(WSSPolicy policy)(Code) Parameters: policy - the policy to be compared for equality true if the argument policy is equal to this
equalsIgnoreTargets public boolean equalsIgnoreTargets(WSSPolicy binding)(Code)
getKeyAlgorithm public String getKeyAlgorithm()(Code) keyAlgorithm for the Symmetric Key
getKeyIdentifier public String getKeyIdentifier()(Code) key identifier for the symmetric key
getSecretKey public SecretKey getSecretKey()(Code) SecretKey the symmetric key
getUseReceivedSecret public boolean getUseReceivedSecret()(Code)
setCertAlias public void setCertAlias(String certAlias)(Code)
setKeyAlgorithm public void setKeyAlgorithm(String keyAlgorithm)(Code) set the Key Algorithm of the Symmetric Key
Parameters: keyAlgorithm -
setKeyIdentifier public void setKeyIdentifier(String keyIdentifier)(Code) set the key identifier for the symmetric key
Parameters: keyIdentifier -
setSecretKey public void setSecretKey(SecretKey secretKey)(Code) Set the symmetric key
Parameters: secretKey - the SecretKey
setUseReceivedSecret public void setUseReceivedSecret(boolean useReceivedSecret)(Code)
Fields inherited from com.sun.xml.wss.impl.policy.MLSPolicy protected boolean readonly(Code) (Java Doc)