public class X509V3BSTType extends java.lang.Object implements BinarySecurityTokenType, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
X509V3BSTType() |
Modifier and Type | Method and Description |
---|---|
java.security.cert.X509Certificate |
getCertificate(byte[] bytes) |
java.security.cert.X509Certificate |
getCertificate(java.lang.Object credentials) |
java.lang.Object |
getCredentials(byte[] bytes) |
java.lang.String |
getKeyIdentifierValueType() |
byte[] |
getKeyIdRefValue(java.lang.Object credentials) |
java.security.PrivateKey |
getPrivateKey(byte[] bytes) |
java.security.PrivateKey |
getPrivateKey(java.lang.Object credentials) |
java.security.PublicKey |
getPublicKey(byte[] bytes) |
java.security.PublicKey |
getPublicKey(java.lang.Object credentials) |
javax.crypto.SecretKey |
getSecretKey(byte[] bytes) |
javax.crypto.SecretKey |
getSecretKey(java.lang.Object credentials) |
byte[] |
getUnencodedValue(java.lang.Object credentials) |
java.lang.String |
getValueType() |
static void |
init() |
boolean |
validate(BinarySecurityToken bst,
javax.xml.rpc.handler.MessageContext msgCtx) |
private static final long serialVersionUID
public static void init()
public java.lang.String getValueType()
getValueType
in interface BinarySecurityTokenType
public java.lang.String getKeyIdentifierValueType()
getKeyIdentifierValueType
in interface BinarySecurityTokenType
public byte[] getUnencodedValue(java.lang.Object credentials) throws BSTEncodingException
getUnencodedValue
in interface BinarySecurityTokenType
BSTEncodingException
public byte[] getKeyIdRefValue(java.lang.Object credentials) throws BSTEncodingException
getKeyIdRefValue
in interface BinarySecurityTokenType
BSTEncodingException
public java.security.PublicKey getPublicKey(java.lang.Object credentials)
getPublicKey
in interface BinarySecurityTokenType
public java.security.PrivateKey getPrivateKey(java.lang.Object credentials)
getPrivateKey
in interface BinarySecurityTokenType
public javax.crypto.SecretKey getSecretKey(java.lang.Object credentials)
getSecretKey
in interface BinarySecurityTokenType
public java.security.cert.X509Certificate getCertificate(java.lang.Object credentials)
getCertificate
in interface BinarySecurityTokenType
public java.lang.Object getCredentials(byte[] bytes)
getCredentials
in interface BinarySecurityTokenType
public boolean validate(BinarySecurityToken bst, javax.xml.rpc.handler.MessageContext msgCtx)
validate
in interface BinarySecurityTokenType
public java.security.PublicKey getPublicKey(byte[] bytes)
public java.security.PrivateKey getPrivateKey(byte[] bytes)
public javax.crypto.SecretKey getSecretKey(byte[] bytes)
public java.security.cert.X509Certificate getCertificate(byte[] bytes)