Uses of Class
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 X509CertificateCryptoManager.findCertByIssuerAndSerialNumberNative(byte[] derIssuer, byte[] serialNumber) CryptoManager.findCertByNickname(String nickname) Looks up a certificate given its nickname.protected X509CertificateCryptoManager.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 X509CertificateCryptoManager.importCertPackageNative(byte[] certPackage, String nickname, boolean noUser, boolean leafIsCA) CryptoManager.importCertToPerm(X509Certificate cert, String nickname) Imports a single certificate into the permanent certificate database.private X509CertificateCryptoManager.importCertToPermNative(X509Certificate cert, String nickname) CryptoManager.importDERCert(byte[] cert, CertificateUsage usage, boolean permanent, String nickname) Imports a single DER-encoded certificate into the permanent or temporary certificate database.private X509CertificateCryptoManager.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 PrivateKeyCryptoManager.findPrivKeyByCertNative(X509Certificate cert) CryptoManager.importCertToPerm(X509Certificate cert, String nickname) Imports a single certificate into the permanent certificate database.private X509CertificateCryptoManager.importCertToPermNative(X509Certificate cert, String nickname) voidCryptoManager.verifyCertificate(X509Certificate cert, boolean checkSig, CertificateUsage certificateUsage) Verify an X509Certificate by checking if it's valid and that we trust the issuer.private voidCryptoManager.verifyCertificateNowNative3(X509Certificate cert, boolean checkSig, int certificateUsage) -
Uses of X509Certificate in org.mozilla.jss.crypto
Methods in org.mozilla.jss.crypto that return X509CertificateModifier and TypeMethodDescriptionCryptoStore.findCert(byte[] certBytes) Find a certificate in this token from its binary data.CryptoStore.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 TypeMethodDescriptionvoidCryptoStore.deleteCert(X509Certificate cert) Deletes a certificate and the corresponding keys.voidCryptoStore.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) BigIntegerPKCS12Util.createLocalID(X509Certificate cert) PKCS12Util.getTrustFlags(X509Certificate cert) Deprecated.Use PK11Cert.getTrustFlags() instead.voidPKCS12Util.loadCertFromNSS(PKCS12 pkcs12, X509Certificate cert, boolean includeKey, boolean includeChain) voidPKCS12Util.loadCertFromNSS(PKCS12 pkcs12, X509Certificate cert, boolean includeKey, boolean includeChain, String friendlyName) voidPKCS12Util.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
Subclasses of X509Certificate in org.mozilla.jss.pkcs11Methods in org.mozilla.jss.pkcs11 that return X509CertificateModifier and TypeMethodDescriptionPK11Store.findCert(byte[] certBytes) PK11Store.findCertFromDERCertItem(byte[] certBytes) PK11Store.getCertificates()PK11Store.importCert(byte[] certBytes, String nickname) Methods in org.mozilla.jss.pkcs11 with parameters of type X509CertificateModifier and TypeMethodDescriptionvoidPK11Store.deleteCert(X509Certificate cert) Deletes the specified certificate and its associated private key from the store.voidPK11Store.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 voidPK11Store.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) Methods in org.mozilla.jss.provider.javax.crypto with parameters of type X509CertificateModifier and TypeMethodDescriptionprivate intJSSTrustManager.certRevokeVerify(X509Certificate cert, int usage) -
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 TypeMethodDescription(package private) voidSocketBase.setClientCert(X509Certificate cert) voidSSLServerSocket.setClientCert(X509Certificate cert) Sets the certificate to use for client authentication.voidSSLSocket.setClientCert(X509Certificate cert) Sets the certificate to use for client authentication.voidSSLServerSocket.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)