FileDocCategorySizeDatePackage
Entropy.javaAPI DocExample4663Tue May 29 16:56:54 BST 2007com.sun.xml.ws.security.trust.elements

Entropy

public interface Entropy
author
WS-Trust Implementation Team

Fields Summary
public static final String
BINARY_SECRET_TYPE
Constants defining the Type of Entropy
public static final String
ENCRYPTED_KEY_TYPE
public static final String
CUSTOM_TYPE
Constructors Summary
Methods Summary
public java.util.ListgetAny()
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

getAny().add(newItem);

Objects of the following type(s) are allowed in the list {@link Element } {@link Object }

public BinarySecretgetBinarySecret()
Gets the BinarySecret (if any) inside this Entropy

return
BinarySecret if set, null otherwise

public com.sun.xml.ws.security.EncryptedKeygetEncryptedKey()
Gets the xenc:EncryptedKey set inside this Entropy instance

return
xenc:EncryptedKey if set, null otherwise

public java.lang.StringgetEntropyType()
Gets the type of the Entropy contents

public java.util.MapgetOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

return
always non-null

public voidsetBinarySecret(BinarySecret binarySecret)
Sets the BinarySecret (if any) inside this Entropy

public voidsetEncryptedKey(com.sun.xml.ws.security.EncryptedKey encryptedKey)
Sets the xenc:EncryptedKey set inside this Entropy instance

public voidsetEntropyType(java.lang.String entropyType)
Sets the type of the Entropy contents