public abstract class BinarySecret extends Object
BinarySecret
represents the binary secretModifier and Type | Field and Description |
---|---|
protected static String |
BINARY_SECRET |
protected byte[] |
secret |
Constructor and Description |
---|
BinarySecret() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getSecret()
Returns the secret.
|
void |
setSecret(byte[] secret)
Sets the secret
|
abstract Element |
toDOMElement()
Returns the DOM Element representation for the binary secret.
|
abstract String |
toXMLString()
Converts into XML String
|
protected static final String BINARY_SECRET
protected byte[] secret
public byte[] getSecret()
public void setSecret(byte[] secret)
secret
- the secret bytespublic abstract Element toDOMElement() throws WSTException
com.sun.identity.wss.sts.protocol.WSTException
WSTException
public abstract String toXMLString() throws WSTException
BinarySecret
.WSTException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.