You are currently viewing a snapshot of taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to, please file a bug.

Class PK11TokenCert

  extended by org.mozilla.jss.pkcs11.PK11Cert
      extended by org.mozilla.jss.pkcs11.PK11TokenCert
All Implemented Interfaces:
TokenCertificate, X509Certificate

public final class PK11TokenCert
extends PK11Cert
implements TokenCertificate

A user certificate that lives on a PKCS #11 token.

Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.jss.pkcs11.PK11Cert
Field Summary
Fields inherited from class org.mozilla.jss.pkcs11.PK11Cert
certProxy, nickname, tokenProxy
Method Summary
 CryptoToken getOwningToken()
          Returns the CryptoToken that owns this certificate.
 byte[] getUniqueID()
          Returns the unique ID of this key.
Methods inherited from class org.mozilla.jss.pkcs11.PK11Cert
getEncoded, getIssuerDN, getIssuerDNString, getNickname, getPublicKey, getSerialNumber, getSerialNumberByteArray, getSubjectDN, getSubjectDNString, getTrust, getVersion, setTrust
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.mozilla.jss.crypto.X509Certificate
getEncoded, getIssuerDN, getNickname, getPublicKey, getSerialNumber, getSubjectDN, getVersion

Method Detail


public byte[] getUniqueID()
Description copied from interface: TokenCertificate
Returns the unique ID of this key. Unique IDs can be used to match certificates to keys.

Specified by:
getUniqueID in interface TokenCertificate
getUniqueID in class PK11Cert
See Also:


public CryptoToken getOwningToken()
Description copied from interface: TokenCertificate
Returns the CryptoToken that owns this certificate. Cryptographic operations with this key may only be performed on the token that owns the key.

Specified by:
getOwningToken in interface TokenCertificate
getOwningToken in class PK11Cert