Interface Entropy
- All Known Implementing Classes:
EntropyImpl,EntropyImpl
public interface Entropy
- Author:
- WS-Trust Implementation Team
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetAny()Gets the value of the any property.Gets the BinarySecret (if any) inside this EntropyGets the xenc:EncryptedKey set inside this Entropy instanceGets the type of the Entropy contentsGets 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 Details
-
BINARY_SECRET_TYPE
Constants defining the Type of Entropy- See Also:
-
ENCRYPTED_KEY_TYPE
- See Also:
-
CUSTOM_TYPE
- See Also:
-
-
Method Details
-
getEntropyType
String getEntropyType()Gets the type of the Entropy contents -
setEntropyType
Sets the type of the Entropy contents -
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
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
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
Sets the xenc:EncryptedKey set inside this Entropy instance
-