Package org.mozilla.jss.crypto
Interface TokenCertificate
- All Superinterfaces:
X509Certificate
- All Known Implementing Classes:
PK11Cert
,PK11InternalCert
,PK11InternalTokenCert
An X509 Certificate that lives on a PKCS #11 token.
Many of the X509Certificates returned by JSS calls are actually
TokenCertificates.
To find out if an X509Certificate is a TokenCertificate, use
instanceof
.-
Method Summary
Modifier and TypeMethodDescriptionReturns the CryptoToken that owns this certificate.byte[]
Returns the unique ID of this key.Methods inherited from interface org.mozilla.jss.crypto.X509Certificate
getEncoded, getIssuerDN, getNickname, getPublicKey, getSerialNumber, getSubjectDN, getVersion
-
Method Details
-
getUniqueID
byte[] getUniqueID()Returns the unique ID of this key. Unique IDs can be used to match certificates to keys.- See Also:
-
getOwningToken
CryptoToken getOwningToken()Returns the CryptoToken that owns this certificate. Cryptographic operations with this key may only be performed on the token that owns the key.
-