public class EntropyImpl extends EntropyType implements Entropy
anyBINARY_SECRET_TYPE, CUSTOM_TYPE, ENCRYPTED_KEY_TYPE| Constructor and Description |
|---|
EntropyImpl() |
EntropyImpl(BinarySecret binarySecret) |
EntropyImpl(EncryptedKey encryptedKey) |
EntropyImpl(EntropyType etype) |
| Modifier and Type | Method and Description |
|---|---|
static EntropyType |
fromElement(Element element)
Constructs a
Entropy element from
an existing XML block. |
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
|
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 type)
Sets the type of the Entropy contents
|
getAny, getOtherAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAny, getOtherAttributespublic EntropyImpl()
public EntropyImpl(BinarySecret binarySecret)
public EntropyImpl(EncryptedKey encryptedKey)
public EntropyImpl(EntropyType etype)
public static EntropyType fromElement(Element element) throws WSTrustException
Entropy element from
an existing XML block.element - A
org.w3c.dom.Element representing DOM tree
for Entropy object.WSTrustException - if it could not process the
org.w3c.dom.Element properly, implying that
there is an error in the sender or in the element definition.public String getEntropyType()
getEntropyType in interface Entropypublic void setEntropyType(String type)
setEntropyType in interface Entropypublic BinarySecret getBinarySecret()
getBinarySecret in interface Entropypublic void setBinarySecret(BinarySecret binarySecret)
setBinarySecret in interface Entropypublic EncryptedKey getEncryptedKey()
getEncryptedKey in interface Entropypublic void setEncryptedKey(EncryptedKey encryptedKey)
setEncryptedKey in interface EntropyCopyright © 2005–2018 Oracle Corporation. All rights reserved.