Uses of Class
java.security.cert.CertificateException
| Package | Description |
|---|---|
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
| java.security.cert |
This package provides all the classes and all the interfaces needed to generate, administer and verify
X.509 certificates.
|
| javax.net.ssl |
This package provides classes and interfaces needed to use the Secure
Sockets Layer (SSL) protocol and the successor Transport Layer
Security (TLS) protocol.
|
| org.apache.harmony.security.provider.cert | |
| org.bouncycastle.cms.jcajce | |
| org.bouncycastle.jcajce | |
| org.bouncycastle.jcajce.provider.asymmetric.x509 | |
| org.bouncycastle.jcajce.provider.keystore.pkcs12 | |
| org.bouncycastle.jce.provider | |
| org.bouncycastle.operator.jcajce | |
| org.bouncycastle.x509 | |
| org.conscrypt |
-
Uses of CertificateException in java.security
Methods in java.security that throw CertificateException Modifier and Type Method Description abstract voidKeyStoreSpi. engineLoad(InputStream stream, char[] password)Loads thisKeyStoreSpifrom the givenInputStream.voidKeyStoreSpi. engineLoad(KeyStore.LoadStoreParameter param)Loads thisKeyStoreSpiusing the specifiedLoadStoreParameter.abstract voidKeyStoreSpi. engineStore(OutputStream stream, char[] password)Writes thisKeyStoreSpito the specifiedOutputStream.voidKeyStoreSpi. engineStore(KeyStore.LoadStoreParameter param)Stores thisKeyStoreSpiusing the specifiedLoadStoreParameter.voidKeyStore. load(InputStream stream, char[] password)Initializes thisKeyStorefrom the providedInputStream.voidKeyStore. load(KeyStore.LoadStoreParameter param)Loads thisKeyStoreusing the specifiedLoadStoreParameter.voidKeyStore. store(OutputStream stream, char[] password)Writes thisKeyStoreto the specifiedOutputStream.voidKeyStore. store(KeyStore.LoadStoreParameter param)Stores thisKeyStoreusing the specifiedLoadStoreParameter. -
Uses of CertificateException in java.security.cert
Subclasses of CertificateException in java.security.cert Modifier and Type Class Description classCertificateEncodingExceptionThe exception that is thrown when an error occurs while aCertificateis being encoded.classCertificateExpiredExceptionThe exception that is thrown when aCertificatehas expired.classCertificateNotYetValidExceptionThe exception that is thrown when aCertificateis not yet valid or will not yet be valid on a specified date.classCertificateParsingExceptionThe exception that is thrown when aCertificatecan not be parsed.Methods in java.security.cert that throw CertificateException Modifier and Type Method Description abstract CertificateCertificateFactorySpi. engineGenerateCertificate(InputStream inStream)Generates and initializes aCertificatefrom the provided input stream.abstract Collection<? extends Certificate>CertificateFactorySpi. engineGenerateCertificates(InputStream inStream)Generates and initializes a collection of certificates from the provided input stream.CertPathCertificateFactorySpi. engineGenerateCertPath(InputStream inStream)Generates aCertPathfrom the providedInputStream.CertPathCertificateFactorySpi. engineGenerateCertPath(InputStream inStream, String encoding)Generates aCertPath(a certificate chain) from the giveninputStream, assuming the givenencodingfromCertificateFactorySpi.engineGetCertPathEncodings().CertPathCertificateFactorySpi. engineGenerateCertPath(List<? extends Certificate> certificates)Generates aCertPathfrom the provided list of certificates.CertificateCertificateFactory. generateCertificate(InputStream inStream)Generates and initializes aCertificatefrom the provided input stream.Collection<? extends Certificate>CertificateFactory. generateCertificates(InputStream inStream)Generates and initializes a collection of (unrelated) certificates from the provided input stream.CertPathCertificateFactory. generateCertPath(InputStream inStream)Generates aCertPath(a certificate chain) from the providedInputStream.CertPathCertificateFactory. generateCertPath(InputStream inputStream, String encoding)Generates aCertPath(a certificate chain) from the giveninputStream, assuming the givenencodingfromCertificateFactory.getCertPathEncodings().CertPathCertificateFactory. generateCertPath(List<? extends Certificate> certificates)Generates aCertPathfrom the provided list of certificates.static CertificateFactoryCertificateFactory. getInstance(String type)Creates a newCertificateFactoryinstance that provides the requested certificate type.static CertificateFactoryCertificateFactory. getInstance(String type, String provider)Creates a newCertificateFactoryinstance from the specified provider that provides the requested certificate type.static CertificateFactoryCertificateFactory. getInstance(String type, Provider provider)Creates a newCertificateFactoryinstance from the specified provider that provides the requested certificate type.abstract voidCertificate. verify(PublicKey key)Verifies that this certificate was signed with the given public key.abstract voidCertificate. verify(PublicKey key, String sigProvider)Verifies that this certificate was signed with the given public key. -
Uses of CertificateException in javax.net.ssl
Methods in javax.net.ssl that throw CertificateException Modifier and Type Method Description voidX509TrustManager. checkClientTrusted(X509Certificate[] chain, String authType)Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for client authentication for the specified authentication type.voidX509TrustManager. checkServerTrusted(X509Certificate[] chain, String authType)Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for server authentication for the specified key exchange algorithm. -
Uses of CertificateException in org.apache.harmony.security.provider.cert
Methods in org.apache.harmony.security.provider.cert that throw CertificateException Modifier and Type Method Description CertificateX509CertFactoryImpl. engineGenerateCertificate(InputStream inStream)Generates the X.509 certificate from the data in the stream.Collection<? extends Certificate>X509CertFactoryImpl. engineGenerateCertificates(InputStream inStream)Generates the collection of the certificates on the base of provided via input stream encodings.CertPathX509CertFactoryImpl. engineGenerateCertPath(InputStream inStream)CertPathX509CertFactoryImpl. engineGenerateCertPath(InputStream inStream, String encoding)CertPathX509CertFactoryImpl. engineGenerateCertPath(List<? extends Certificate> certificates)static X509CertPathImplX509CertPathImpl. getInstance(byte[] in)Generates certification path object on the base of PkiPath encoded form provided via array of bytes.static X509CertPathImplX509CertPathImpl. getInstance(byte[] in, String encoding)Generates certification path object on the base of encoding provided via array of bytes.static X509CertPathImplX509CertPathImpl. getInstance(InputStream in)Generates certification path object on the base of PkiPath encoded form provided via input stream.static X509CertPathImplX509CertPathImpl. getInstance(InputStream in, String encoding)Generates certification path object on the basis of encoding provided via input stream.voidX509CertImpl. verify(PublicKey key)voidX509CertImpl. verify(PublicKey key, String sigProvider)Constructors in org.apache.harmony.security.provider.cert that throw CertificateException Constructor Description X509CertImpl(InputStream in)Constructs the instance on the base of ASN.1 encoded form of X.509 certificate provided via stream parameter.X509CertPathImpl(List<? extends Certificate> certs)Creates an instance of X.509 CertPath over the specified list of certificates. -
Uses of CertificateException in org.bouncycastle.cms.jcajce
Methods in org.bouncycastle.cms.jcajce that throw CertificateException Modifier and Type Method Description SignerInformationVerifierJcaSignerInfoVerifierBuilder. build(X509CertificateHolder certHolder)SignerInformationVerifierJcaSimpleSignerInfoVerifierBuilder. build(X509CertificateHolder certHolder) -
Uses of CertificateException in org.bouncycastle.jcajce
Methods in org.bouncycastle.jcajce that throw CertificateException Modifier and Type Method Description CertificateFactoryDefaultJcaJceHelper. createCertificateFactory(String algorithm)CertificateFactoryJcaJceHelper. createCertificateFactory(String algorithm)CertificateFactoryNamedJcaJceHelper. createCertificateFactory(String algorithm)CertificateFactoryProviderJcaJceHelper. createCertificateFactory(String algorithm) -
Uses of CertificateException in org.bouncycastle.jcajce.provider.asymmetric.x509
Methods in org.bouncycastle.jcajce.provider.asymmetric.x509 that throw CertificateException Modifier and Type Method Description CertificateCertificateFactory. engineGenerateCertificate(InputStream in)Generates a certificate object and initializes it with the data read from the input stream inStream.CollectionCertificateFactory. engineGenerateCertificates(InputStream inStream)Returns a (possibly empty) collection view of the certificates read from the given input stream inStream.CertPathCertificateFactory. engineGenerateCertPath(InputStream inStream)CertPathCertificateFactory. engineGenerateCertPath(InputStream inStream, String encoding)CertPathCertificateFactory. engineGenerateCertPath(List certificates) -
Uses of CertificateException in org.bouncycastle.jcajce.provider.keystore.pkcs12
Methods in org.bouncycastle.jcajce.provider.keystore.pkcs12 that throw CertificateException Modifier and Type Method Description voidPKCS12KeyStoreSpi. engineStore(KeyStore.LoadStoreParameter param) -
Uses of CertificateException in org.bouncycastle.jce.provider
Methods in org.bouncycastle.jce.provider that throw CertificateException Modifier and Type Method Description voidX509CertificateObject. verify(PublicKey key)voidX509CertificateObject. verify(PublicKey key, String sigProvider) -
Uses of CertificateException in org.bouncycastle.operator.jcajce
Methods in org.bouncycastle.operator.jcajce that throw CertificateException Modifier and Type Method Description ContentVerifierProviderJcaContentVerifierProviderBuilder. build(X509CertificateHolder certHolder) -
Uses of CertificateException in org.bouncycastle.x509
Methods in org.bouncycastle.x509 that throw CertificateException Modifier and Type Method Description voidX509AttributeCertificate. verify(PublicKey key, String provider)voidX509V2AttributeCertificate. verify(PublicKey key, String provider)Deprecated. -
Uses of CertificateException in org.conscrypt
Methods in org.conscrypt that throw CertificateException Modifier and Type Method Description static voidChainStrengthAnalyzer. check(X509Certificate[] chain)voidTrustManagerImpl. checkClientTrusted(X509Certificate[] chain, String authType)voidTrustManagerImpl. checkServerTrusted(X509Certificate[] chain, String authType)List<X509Certificate>TrustManagerImpl. checkServerTrusted(X509Certificate[] chain, String authType, String host)Validates whether a server is trusted.voidTrustedCertificateStore. deleteCertificateEntry(String alias)This could be considered the implementation ofTrustedCertificateKeyStoreSpi.engineDeleteEntrybut we considerTrustedCertificateKeyStoreSpito be read only.CertificateOpenSSLX509CertificateFactory. engineGenerateCertificate(InputStream inStream)Collection<? extends Certificate>OpenSSLX509CertificateFactory. engineGenerateCertificates(InputStream inStream)CertPathOpenSSLX509CertificateFactory. engineGenerateCertPath(InputStream inStream)CertPathOpenSSLX509CertificateFactory. engineGenerateCertPath(InputStream inStream, String encoding)CertPathOpenSSLX509CertificateFactory. engineGenerateCertPath(List<? extends Certificate> certificates)static CertPathOpenSSLX509CertPath. fromEncoding(InputStream inStream)static CertPathOpenSSLX509CertPath. fromEncoding(InputStream inStream, String encoding)List<X509Certificate>TrustedCertificateStore. getCertificateChain(X509Certificate leaf)Attempt to build a certificate chain from the suppliedleafargument through the chain of issuers as high up as known.voidTrustedCertificateStore. installCertificate(X509Certificate cert)This non-KeyStoreSpipublic interface is used by theKeyChainServiceto install new CA certificates.static longNativeCrypto. SSL_do_handshake(long sslNativePointer, FileDescriptor fd, NativeCrypto.SSLHandshakeCallbacks shc, int timeoutMillis, boolean client_mode, byte[] npnProtocols, byte[] alpnProtocols)Returns the sslSessionNativePointer of the negotiated session.voidOpenSSLX509Certificate. verify(PublicKey key)voidOpenSSLX509Certificate. verify(PublicKey key, String sigProvider)voidNativeCrypto.SSLHandshakeCallbacks. verifyCertificateChain(byte[][] asn1DerEncodedCertificateChain, String authMethod)Verify that we trust the certificate chain is trusted.voidOpenSSLSocketImpl. verifyCertificateChain(byte[][] bytes, String authMethod)