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(byte[] rawValue,
String type)
public BinarySecretImpl(BinarySecretType bsType)
public static BinarySecretType fromElement(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.public byte[] getRawValue()
getRawValue in interface BinarySecretpublic String getTextValue()
getTextValue in interface BinarySecretpublic void setRawValue(byte[] rawText)
setRawValue in interface BinarySecretpublic void setTextValue(String encodedText)
setTextValue in interface BinarySecretCopyright © 2005–2018 Oracle Corporation. All rights reserved.