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

All Known Implementing Classes:
EntropyImpl, EntropyImpl

public interface Entropy


Field Summary
static java.lang.String BINARY_SECRET_TYPE
          Constants defining the Type of Entropy
static java.lang.String CUSTOM_TYPE
           
static java.lang.String ENCRYPTED_KEY_TYPE
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 BinarySecret getBinarySecret()
          Gets the BinarySecret (if any) inside this Entropy
 com.sun.xml.ws.security.EncryptedKey getEncryptedKey()
          Gets the xenc:EncryptedKey set inside this Entropy instance
 java.lang.String getEntropyType()
          Gets the type of the Entropy contents
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 void setBinarySecret(BinarySecret binarySecret)
          Sets the BinarySecret (if any) inside this Entropy
 void setEncryptedKey(com.sun.xml.ws.security.EncryptedKey encryptedKey)
          Sets the xenc:EncryptedKey set inside this Entropy instance
 void setEntropyType(java.lang.String entropyType)
          Sets the type of the Entropy contents
 

Field Detail

BINARY_SECRET_TYPE

static final java.lang.String BINARY_SECRET_TYPE
Constants defining the Type of Entropy

See Also:
Constant Field Values

ENCRYPTED_KEY_TYPE

static final java.lang.String ENCRYPTED_KEY_TYPE
See Also:
Constant Field Values

CUSTOM_TYPE

static final java.lang.String CUSTOM_TYPE
See Also:
Constant Field Values
Method Detail

getEntropyType

java.lang.String getEntropyType()
Gets the type of the Entropy contents


setEntropyType

void setEntropyType(java.lang.String entropyType)
Sets the type of the Entropy contents


getAny

java.util.List<java.lang.Object> getAny()
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 Element Object


getOtherAttributes

java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
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.

Returns:
always non-null

getBinarySecret

BinarySecret getBinarySecret()
Gets the BinarySecret (if any) inside this Entropy

Returns:
BinarySecret if set, null otherwise

setBinarySecret

void setBinarySecret(BinarySecret binarySecret)
Sets the BinarySecret (if any) inside this Entropy


getEncryptedKey

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

Returns:
xenc:EncryptedKey if set, null otherwise

setEncryptedKey

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