Interface Entropy
-
- All Known Implementing Classes:
EntropyImpl,EntropyImpl
public interface Entropy- Author:
- WS-Trust Implementation Team
-
-
Field Summary
Fields Modifier and Type Field Description static StringBINARY_SECRET_TYPEConstants defining the Type of Entropystatic StringCUSTOM_TYPEstatic StringENCRYPTED_KEY_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Object>getAny()Gets the value of the any property.BinarySecretgetBinarySecret()Gets the BinarySecret (if any) inside this EntropyEncryptedKeygetEncryptedKey()Gets the xenc:EncryptedKey set inside this Entropy instanceStringgetEntropyType()Gets the type of the Entropy contentsMap<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.voidsetBinarySecret(BinarySecret binarySecret)Sets the BinarySecret (if any) inside this EntropyvoidsetEncryptedKey(EncryptedKey encryptedKey)Sets the xenc:EncryptedKey set inside this Entropy instancevoidsetEntropyType(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
setmethod 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
ElementObject
-
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
-
-