|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BinarySecret
Field Summary | |
---|---|
static java.lang.String |
ASYMMETRIC_KEY_TYPE
Predefined constants for the Type of BinarySecret desired in the Security Token Values for the wst:BinarySecret/@Type parameter |
static java.lang.String |
NONCE_KEY_TYPE
|
static java.lang.String |
SYMMETRIC_KEY_TYPE
|
Method Summary | |
---|---|
java.util.Map<javax.xml.namespace.QName,java.lang.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. |
java.lang.String |
getTextValue()
Gets the encoded value of the binary secret. |
java.lang.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(java.lang.String encodedText)
Sets the value of the Binary Secret element. |
void |
setType(java.lang.String type)
Sets the value of the type property indicating the type of secret being encoded. |
Field Detail |
---|
static final java.lang.String ASYMMETRIC_KEY_TYPE
static final java.lang.String SYMMETRIC_KEY_TYPE
static final java.lang.String NONCE_KEY_TYPE
Method Detail |
---|
java.util.Map<javax.xml.namespace.QName,java.lang.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.
java.lang.String getType()
String
byte[] getRawValue()
byte[]
java.lang.String getTextValue()
String
{getRawValue}
void setType(java.lang.String type)
type
- String
void setTextValue(java.lang.String encodedText)
encodedText
- String
void setRawValue(byte[] rawText)
rawText
- byte[]
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |