Uses of Interface
org.mozilla.jss.crypto.X509Certificate
Packages that use X509Certificate
Package
Description
Configuration and top-level operations of the JSS system.
Generic cryptographic operations, such as signing and key pair generation.
SSL sockets.
-
Uses of X509Certificate in org.mozilla.jss
Methods in org.mozilla.jss that return X509CertificateModifier and TypeMethodDescriptionCryptoManager.buildCertificateChain
(X509Certificate leaf) Given a certificate, constructs its certificate chain.(package private) X509Certificate[]
CryptoManager.buildCertificateChainNative
(PK11Cert leaf) CryptoManager.findCertByIssuerAndSerialNumber
(byte[] derIssuer, INTEGER serialNumber) Looks up a certificate by issuer and serial number.private X509Certificate
CryptoManager.findCertByIssuerAndSerialNumberNative
(byte[] derIssuer, byte[] serialNumber) CryptoManager.findCertByNickname
(String nickname) Looks up a certificate given its nickname.protected X509Certificate
CryptoManager.findCertByNicknameNative
(String nickname) CryptoManager.findCertsByNickname
(String nickname) Returns all certificates with the given nickname.protected X509Certificate[]
CryptoManager.findCertsByNicknameNative
(String nickname) CryptoManager.getCACerts()
Retrieves all CA certificates in the trust database.CryptoManager.getPermCerts()
Retrieves all certificates in the trust database.CryptoManager.importCACertPackage
(byte[] certPackage) Imports a chain of certificates, none of which is a user certificate.CryptoManager.importCertPackage
(byte[] certPackage, String nickname) Imports a chain of certificates.private X509Certificate
CryptoManager.importCertPackageNative
(byte[] certPackage, String nickname, boolean noUser, boolean leafIsCA) CryptoManager.importDERCert
(byte[] cert, CertificateUsage usage, boolean permanent, String nickname) Imports a single DER-encoded certificate into the permanent or temporary certificate database.private X509Certificate
CryptoManager.importDERCertNative
(byte[] cert, int usage, boolean permanent, String nickname) CryptoManager.importUserCACertPackage
(byte[] certPackage, String nickname) Imports a chain of certificates.Methods in org.mozilla.jss with parameters of type X509CertificateModifier and TypeMethodDescriptionCryptoManager.buildCertificateChain
(X509Certificate leaf) Given a certificate, constructs its certificate chain.byte[]
CryptoManager.exportCertsToPKCS7
(X509Certificate[] certs) Exports one or more certificates into a PKCS #7 certificate container.CryptoManager.findPrivKeyByCert
(X509Certificate cert) Looks up the PrivateKey matching the given certificate.protected PrivateKey
CryptoManager.findPrivKeyByCertNative
(X509Certificate cert) CryptoManager.importCertToPerm
(X509Certificate cert, String nickname) Imports a single certificate into the permanent certificate database.private InternalCertificate
CryptoManager.importCertToPermNative
(X509Certificate cert, String nickname) void
CryptoManager.verifyCertificate
(X509Certificate cert, boolean checkSig, CertificateUsage certificateUsage) Verify an X509Certificate by checking if it's valid and that we trust the issuer.private void
CryptoManager.verifyCertificateNowNative3
(X509Certificate cert, boolean checkSig, int certificateUsage) -
Uses of X509Certificate in org.mozilla.jss.crypto
Subinterfaces of X509Certificate in org.mozilla.jss.cryptoModifier and TypeInterfaceDescriptioninterface
Certificates residing in the internal database.interface
An X509 Certificate that lives on a PKCS #11 token.Methods in org.mozilla.jss.crypto that return X509CertificateModifier and TypeMethodDescriptionCryptoStore.getCertificates()
Returns all user certificates stored on this token.CryptoStore.importCert
(byte[] certBytes, String nickname) Imports a certificate into this token.Methods in org.mozilla.jss.crypto with parameters of type X509CertificateModifier and TypeMethodDescriptionvoid
CryptoStore.deleteCert
(X509Certificate cert) Deletes a certificate and the corresponding keys.void
CryptoStore.deleteCertOnly
(X509Certificate cert) Deletes a certificate without deleting the corresponding keys.byte[]
CryptoStore.getEncryptedPrivateKeyInfo
(X509Certificate cert, PBEAlgorithm pbeAlg, Password pw, int iteration) Get an encrypted private key for the given cert. -
Uses of X509Certificate in org.mozilla.jss.netscape.security.pkcs
Methods in org.mozilla.jss.netscape.security.pkcs with parameters of type X509CertificateModifier and TypeMethodDescriptionPKCS12Util.createCertInfoFromNSS
(X509Certificate cert) PKCS12Util.createCertInfoFromNSS
(X509Certificate cert, String friendlyName) PKCS12Util.createKeyInfoFromNSS
(X509Certificate cert, PrivateKey privateKey) PKCS12Util.createKeyInfoFromNSS
(X509Certificate cert, PrivateKey privateKey, String friendlyName) (package private) BigInteger
PKCS12Util.createLocalID
(X509Certificate cert) PKCS12Util.getTrustFlags
(X509Certificate cert) Deprecated.Use PK11Cert.getTrustFlags() instead.void
PKCS12Util.loadCertFromNSS
(PKCS12 pkcs12, X509Certificate cert, boolean includeKey, boolean includeChain) void
PKCS12Util.loadCertFromNSS
(PKCS12 pkcs12, X509Certificate cert, boolean includeKey, boolean includeChain, String friendlyName) void
PKCS12Util.setTrustFlags
(X509Certificate cert, String trustFlags) Deprecated.Use PK11Cert.setTrustFlags() instead. -
Uses of X509Certificate in org.mozilla.jss.nss
Methods in org.mozilla.jss.nss with parameters of type X509Certificate -
Uses of X509Certificate in org.mozilla.jss.pkcs11
Classes in org.mozilla.jss.pkcs11 that implement X509CertificateModifier and TypeClassDescriptionclass
class
Deprecated.Use PK11Cert instead.final class
Deprecated.Use PK11Cert instead.Methods in org.mozilla.jss.pkcs11 that return X509CertificateModifier and TypeMethodDescriptionPK11Store.getCertificates()
PK11Store.importCert
(byte[] certBytes, String nickname) Methods in org.mozilla.jss.pkcs11 with parameters of type X509CertificateModifier and TypeMethodDescriptionvoid
PK11Store.deleteCert
(X509Certificate cert) Deletes the specified certificate and its associated private key from the store.void
PK11Store.deleteCertOnly
(X509Certificate cert) Deletes the specified certificate from the store.byte[]
PK11Store.getEncryptedPrivateKeyInfo
(X509Certificate cert, PBEAlgorithm pbeAlg, Password pw, int iteration) Method parameters in org.mozilla.jss.pkcs11 with type arguments of type X509CertificateModifier and TypeMethodDescriptionprotected void
PK11Store.putCertsInVector
(Vector<X509Certificate> certs) -
Uses of X509Certificate in org.mozilla.jss.provider.javax.crypto
Methods in org.mozilla.jss.provider.javax.crypto that return X509CertificateModifier and TypeMethodDescriptionJSSKeyManager.getCertificate
(String alias) JSSTokenKeyManager.getCertificate
(String alias) -
Uses of X509Certificate in org.mozilla.jss.ssl
Fields in org.mozilla.jss.ssl declared as X509CertificateMethods in org.mozilla.jss.ssl that return X509CertificateModifier and TypeMethodDescriptionSSLSecurityStatus.getPeerCertificate()
Retrieve certificate presented by the other other end of the socketMethods in org.mozilla.jss.ssl with parameters of type X509CertificateModifier and TypeMethodDescriptionboolean
SSLCertificateApprovalCallback.approve
(X509Certificate cert, SSLCertificateApprovalCallback.ValidityStatus status) This method is called when the server sends it's certificate to the client.boolean
TestCertApprovalCallback.approve
(X509Certificate servercert, SSLCertificateApprovalCallback.ValidityStatus status) (package private) void
SocketBase.setClientCert
(X509Certificate cert) void
SSLServerSocket.setClientCert
(X509Certificate cert) Sets the certificate to use for client authentication.void
SSLSocket.setClientCert
(X509Certificate cert) Sets the certificate to use for client authentication.void
SSLServerSocket.setServerCert
(X509Certificate certnickname) Sets the certificate to use for server authentication.Constructors in org.mozilla.jss.ssl with parameters of type X509CertificateModifierConstructorDescriptionSSLSecurityStatus
(int status, String cipher, int sessionKeySize, int sessionSecretSize, String issuer, String subject, String serialNumber, X509Certificate certificate) This constructor is called from the native SSL code It's not necessary for you to call this. -
Uses of X509Certificate in org.mozilla.jss.ssl.javax
Constructors in org.mozilla.jss.ssl.javax with parameters of type X509CertificateModifierConstructorDescriptionJSSEngine
(String peerHost, int peerPort, X509Certificate localCert, PrivateKey localKey) Constructor for a JSSEngine, providing hints for an internal session reuse strategy (the peer's hostname and port), along with a chosen certificate and key to use.JSSEngineReferenceImpl
(String peerHost, int peerPort, X509Certificate localCert, PrivateKey localKey)