public interface BinarySecret extends XMLStructure
| Modifier and Type | Field and Description |
|---|---|
static String |
ASYMMETRIC_KEY_TYPE
Predefined constants for the Type of BinarySecret desired in the Security Token
Values for the wst:BinarySecret/@Type parameter
|
static String |
NONCE_KEY_TYPE |
static String |
SYMMETRIC_KEY_TYPE |
| Modifier and Type | Method and Description |
|---|---|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
byte[] |
getRawValue()
Gets the decoded value or the raw bytes of the binary secret.
|
String |
getTextValue()
Gets the encoded value of the binary secret.
|
String |
getType()
Gets the value of the type property.
|
void |
setRawValue(byte[] rawText)
Sets the value of the binary secret as raw bytes.
|
void |
setTextValue(String encodedText)
Sets the value of the Binary Secret element.
|
void |
setType(String type)
Sets the value of the type property indicating the type of
secret being encoded.
|
isFeatureSupportedstatic final String ASYMMETRIC_KEY_TYPE
static final String SYMMETRIC_KEY_TYPE
static final String NONCE_KEY_TYPE
Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
String getType()
Stringbyte[] getRawValue()
String getTextValue()
String{getRawValue}void setType(String type)
type - Stringvoid setTextValue(String encodedText)
encodedText - Stringvoid setRawValue(byte[] rawText)
rawText - allowed object is
byte[]Copyright © 2005–2018 Oracle Corporation. All rights reserved.