|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.security.trust.impl.bindings.EntropyType
com.sun.xml.ws.security.trust.impl.elements.EntropyImpl
public class EntropyImpl
Implementation of Entropy Interface.
| Field Summary |
|---|
| Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.EntropyType |
|---|
any |
| Fields inherited from interface com.sun.xml.ws.security.trust.elements.Entropy |
|---|
BINARY_SECRET_TYPE, CUSTOM_TYPE, ENCRYPTED_KEY_TYPE |
| Constructor Summary | |
|---|---|
EntropyImpl()
|
|
EntropyImpl(BinarySecret binarySecret)
|
|
EntropyImpl(EncryptedKey encryptedKey)
|
|
EntropyImpl(EntropyType etype)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class com.sun.xml.ws.security.trust.impl.bindings.EntropyType |
|---|
getAny, getOtherAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.xml.ws.security.trust.elements.Entropy |
|---|
getAny, getOtherAttributes |
| Constructor Detail |
|---|
public EntropyImpl()
public EntropyImpl(BinarySecret binarySecret)
public EntropyImpl(EncryptedKey encryptedKey)
public EntropyImpl(@NotNull
EntropyType etype)
| Method Detail |
|---|
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 Entropy
public final void setEntropyType(@NotNull
String type)
setEntropyType in interface Entropypublic BinarySecret getBinarySecret()
getBinarySecret in interface Entropypublic final void setBinarySecret(BinarySecret binarySecret)
setBinarySecret in interface Entropypublic EncryptedKey getEncryptedKey()
getEncryptedKey in interface Entropypublic final void setEncryptedKey(EncryptedKey encryptedKey)
setEncryptedKey in interface Entropy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||