public class X509Token extends java.lang.Object implements Token
Constructor and Description |
---|
X509Token(java.security.cert.X509Certificate[] chain)
Deprecated.
Allocates a new X509Token from the specified X.509 certificate chain.
|
Modifier and Type | Method and Description |
---|---|
java.security.cert.X509Certificate[] |
getCertificateChain()
Deprecated.
Returns the certificate chain associated with this token.
|
java.lang.String |
getType()
Deprecated.
Returns this token's type, which is "x.509".
|
java.lang.String |
toString()
Deprecated.
Returns a string representation of this token.
|
public X509Token(java.security.cert.X509Certificate[] chain)
public java.security.cert.X509Certificate[] getCertificateChain()
public java.lang.String getType()
getType
in interface Token
Module.getMechanism()
public java.lang.String toString()
toString
in class java.lang.Object