public class BinarySecretImpl extends BinarySecretType implements BinarySecret
type, valueASYMMETRIC_KEY_TYPE, NONCE_KEY_TYPE, SYMMETRIC_KEY_TYPE| Constructor and Description |
|---|
BinarySecretImpl(BinarySecretType bsType) |
BinarySecretImpl(byte[] rawValue,
String type) |
| Modifier and Type | Method and Description |
|---|---|
static BinarySecretType |
fromElement(Element element)
Constructs a
BinarySecret element from
an existing XML block. |
byte[] |
getRawValue() |
String |
getTextValue() |
void |
setRawValue(byte[] rawText) |
void |
setTextValue(String encodedText) |
getOtherAttributes, getType, getValue, isFeatureSupported, setType, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOtherAttributes, getType, setTypeisFeatureSupportedpublic BinarySecretImpl(@NotNull
byte[] rawValue,
String type)
public BinarySecretImpl(@NotNull
BinarySecretType bsType)
public static BinarySecretType fromElement(@NotNull Element element) throws WSTrustException
BinarySecret element from
an existing XML block.element - org.w3c.dom.Element representing DOM tree
for BinarySecret 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.@NotNull public byte[] getRawValue()
getRawValue in interface BinarySecret@NotNull public String getTextValue()
getTextValue in interface BinarySecretpublic final void setRawValue(@NotNull
byte[] rawText)
setRawValue in interface BinarySecretpublic void setTextValue(@NotNull
String encodedText)
setTextValue in interface BinarySecretCopyright © 2005–2018 Oracle Corporation. All rights reserved.