Package com.sun.identity.wss.trust
Class BinarySecret
- java.lang.Object
-
- com.sun.identity.wss.trust.BinarySecret
-
- Direct Known Subclasses:
BinarySecret_Impl,BinarySecret_Impl
public abstract class BinarySecret extends Object
This classBinarySecretrepresents the binary secret
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringBINARY_SECRETprotected byte[]secret
-
Constructor Summary
Constructors Constructor Description BinarySecret()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description byte[]getSecret()Returns the secret.voidsetSecret(byte[] secret)Sets the secretabstract ElementtoDOMElement()Returns the DOM Element representation for the binary secret.abstract StringtoXMLString()Converts into XML String
-
-
-
Field Detail
-
BINARY_SECRET
protected static final String BINARY_SECRET
- See Also:
- Constant Field Values
-
secret
protected byte[] secret
-
-
Method Detail
-
getSecret
public byte[] getSecret()
Returns the secret.- Returns:
- the secret.
-
setSecret
public void setSecret(byte[] secret)
Sets the secret- Parameters:
secret- the secret bytes
-
toDOMElement
public abstract Element toDOMElement() throws WSTException
Returns the DOM Element representation for the binary secret.- Returns:
- the DOM Element representation for the binary secret.
- Throws:
com.sun.identity.wss.sts.protocol.WSTExceptionWSTException
-
toXMLString
public abstract String toXMLString() throws WSTException
Converts into XML String- Returns:
- the XML String for
BinarySecret. - Throws:
WSTException
-
-