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

All Known Implementing Classes:
EntropyImpl, EntropyImpl

public interface Entropy

Author:
WS-Trust Implementation Team

Field Summary
static String BINARY_SECRET_TYPE
          Constants defining the Type of Entropy
static String CUSTOM_TYPE
           
static String ENCRYPTED_KEY_TYPE
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 BinarySecret getBinarySecret()
          Gets the BinarySecret (if any) inside this Entropy
 EncryptedKey getEncryptedKey()
          Gets the xenc:EncryptedKey set inside this Entropy instance
 String getEntropyType()
          Gets the type of the Entropy contents
 Map<QName,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(EncryptedKey encryptedKey)
          Sets the xenc:EncryptedKey set inside this Entropy instance
 void setEntropyType(String entropyType)
          Sets the type of the Entropy contents
 

Field Detail

BINARY_SECRET_TYPE

static final String BINARY_SECRET_TYPE
Constants defining the Type of Entropy

See Also:
Constant Field Values

ENCRYPTED_KEY_TYPE

static final String ENCRYPTED_KEY_TYPE
See Also:
Constant Field Values

CUSTOM_TYPE

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

getEntropyType

String getEntropyType()
Gets the type of the Entropy contents


setEntropyType

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


getAny

List<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

Map<QName,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

EncryptedKey getEncryptedKey()
Gets the xenc:EncryptedKey set inside this Entropy instance

Returns:
xenc:EncryptedKey if set, null otherwise

setEncryptedKey

void setEncryptedKey(EncryptedKey encryptedKey)
Sets the xenc:EncryptedKey set inside this Entropy instance



Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.