Class BinarySecretImpl
java.lang.Object
com.sun.xml.ws.security.trust.impl.bindings.BinarySecretType
com.sun.xml.ws.security.trust.impl.elements.BinarySecretImpl
- All Implemented Interfaces:
BinarySecret,XMLStructure
- Author:
- WS-Trust Implementation Team
-
Field Summary
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.BinarySecretType
type, valueFields inherited from interface com.sun.xml.ws.security.trust.elements.BinarySecret
ASYMMETRIC_KEY_TYPE, NONCE_KEY_TYPE, SYMMETRIC_KEY_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionBinarySecretImpl(byte[] rawValue, String type) BinarySecretImpl(BinarySecretType bsType) -
Method Summary
Modifier and TypeMethodDescriptionstatic BinarySecretTypefromElement(Element element) Constructs aBinarySecretelement from an existing XML block.byte[]final voidsetRawValue(byte[] rawText) voidsetTextValue(String encodedText) Methods inherited from class com.sun.xml.ws.security.trust.impl.bindings.BinarySecretType
getOtherAttributes, getType, getValue, isFeatureSupported, setType, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.ws.security.trust.elements.BinarySecret
getOtherAttributes, getType, setTypeMethods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
-
Constructor Details
-
BinarySecretImpl
-
BinarySecretImpl
-
-
Method Details
-
fromElement
Constructs aBinarySecretelement from an existing XML block.- Parameters:
element-org.w3c.dom.Elementrepresenting DOM tree forBinarySecretobject.- Throws:
WSTrustException- if it could not process theorg.w3c.dom.Elementproperly, implying that there is an error in the sender or in the element definition.
-
getRawValue
@NotNull public byte[] getRawValue()- Specified by:
getRawValuein interfaceBinarySecret
-
getTextValue
- Specified by:
getTextValuein interfaceBinarySecret
-
setRawValue
public final void setRawValue(@NotNull byte[] rawText) - Specified by:
setRawValuein interfaceBinarySecret
-
setTextValue
- Specified by:
setTextValuein interfaceBinarySecret
-