Uses of Class
java.security.cert.Certificate
| Package | Description |
|---|---|
| com.squareup.okhttp.internal.http | |
| java.net | |
| 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.
|
| java.util.jar | |
| javax.crypto |
This package provides the classes and interfaces for cryptographic applications implementing algorithms for encryption, decryption, or
key agreement.
|
| 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.apache.harmony.security.utils | |
| org.bouncycastle.jcajce.provider.asymmetric.x509 | |
| org.bouncycastle.jcajce.provider.keystore.bc | |
| org.bouncycastle.jcajce.provider.keystore.pkcs12 | |
| org.bouncycastle.jce.provider | |
| org.bouncycastle.x509 | |
| org.conscrypt |
-
Uses of Certificate in com.squareup.okhttp.internal.http
Methods in com.squareup.okhttp.internal.http that return Certificate Modifier and Type Method Description Certificate[]HttpsURLConnectionImpl. getLocalCertificates()Certificate[]HttpsURLConnectionImpl. getServerCertificates() -
Uses of Certificate in java.net
Methods in java.net that return Certificate Modifier and Type Method Description Certificate[]JarURLConnection. getCertificates()Returns all certificates of theJarEntryreferenced by thisJarURLConnectioninstance.Methods in java.net that return types with arguments of type Certificate Modifier and Type Method Description abstract List<Certificate>SecureCacheResponse. getLocalCertificateChain()Gets the local certificate chain.abstract List<Certificate>SecureCacheResponse. getServerCertificateChain()Gets the cached server's certificate chain. -
Uses of Certificate in java.security
Methods in java.security that return Certificate Modifier and Type Method Description abstract CertificateKeyStoreSpi. engineGetCertificate(String alias)Returns the trusted certificate for the entry with the given alias.abstract Certificate[]KeyStoreSpi. engineGetCertificateChain(String alias)Returns the certificate chain for the entry with the given alias.CertificateKeyStore. getCertificate(String alias)Returns the trusted certificate for the entry with the given alias.CertificateKeyStore.PrivateKeyEntry. getCertificate()Returns the certificate corresponding to the private key.Certificate[]KeyStore. getCertificateChain(String alias)Returns the certificate chain for the entry with the given alias.Certificate[]KeyStore.PrivateKeyEntry. getCertificateChain()Returns the certificate chain.Certificate[]CodeSource. getCertificates()CertificateKeyStore.TrustedCertificateEntry. getTrustedCertificate()Returns the trusted certificate.Certificate[]UnresolvedPermission. getUnresolvedCerts()Methods in java.security with parameters of type Certificate Modifier and Type Method Description abstract StringKeyStoreSpi. engineGetCertificateAlias(Certificate cert)Returns the alias associated with the first entry whose certificate matches the specified certificate.abstract voidKeyStoreSpi. engineSetCertificateEntry(String alias, Certificate cert)Associates the given alias with a certificate.abstract voidKeyStoreSpi. engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)Associates the given alias with a key and a certificate chain.abstract voidKeyStoreSpi. engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)Associates the given alias with the key, password and certificate chain.StringKeyStore. getCertificateAlias(Certificate cert)Returns the alias associated with the first entry whose certificate matches the specified certificate.voidSignature. initVerify(Certificate certificate)Initializes thisSignatureinstance for signature verification, using the certificate of the identity whose signature is going to be verified.voidKeyStore. setCertificateEntry(String alias, Certificate cert)Associates the given alias with a certificate.voidKeyStore. setKeyEntry(String alias, byte[] key, Certificate[] chain)Associates the given alias with a key and a certificate chain.voidKeyStore. setKeyEntry(String alias, Key key, char[] password, Certificate[] chain)Associates the given alias with the key, password and certificate chain.Constructors in java.security with parameters of type Certificate Constructor Description CodeSource(URL location, Certificate[] certs)PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)Constructs a new instance ofPrivateKeyEntrywith the givenPrivateKeyand the provided certificate chain.TrustedCertificateEntry(Certificate trustCertificate)Constructs a new instance ofTrustedCertificateEntrywith the givenCertificate.UnresolvedPermission(String type, String name, String actions, Certificate[] certs) -
Uses of Certificate in java.security.cert
Subclasses of Certificate in java.security.cert Modifier and Type Class Description classX509CertificateAbstract base class for X.509 certificates.Methods in java.security.cert that return Certificate Modifier and Type Method Description abstract CertificateCertificateFactorySpi. engineGenerateCertificate(InputStream inStream)Generates and initializes aCertificatefrom the provided input stream.CertificateCertificateFactory. generateCertificate(InputStream inStream)Generates and initializes aCertificatefrom the provided input stream.Methods in java.security.cert that return types with arguments of type Certificate Modifier and Type Method Description abstract Collection<? extends Certificate>CertificateFactorySpi. engineGenerateCertificates(InputStream inStream)Generates and initializes a collection of certificates from the provided input stream.abstract Collection<? extends Certificate>CertStoreSpi. engineGetCertificates(CertSelector selector)Returns the list ofCertificates for the specifiedCertSelectorfrom this instance.Collection<? extends Certificate>CertificateFactory. generateCertificates(InputStream inStream)Generates and initializes a collection of (unrelated) certificates from the provided input stream.abstract List<? extends Certificate>CertPath. getCertificates()Returns an immutable List of theCertificates contained in theCertPath.Collection<? extends Certificate>CertStore. getCertificates(CertSelector selector)Returns the list ofCertificates for the specifiedCertSelectorfrom this certificate store.Methods in java.security.cert with parameters of type Certificate Modifier and Type Method Description abstract voidPKIXCertPathChecker. check(Certificate cert, Collection<String> unresolvedCritExts)Checks the specified certificate and removes the processed critical extensions from the specified list of X.509 extension OIDs.abstract booleanCRL. isRevoked(Certificate cert)Returns whether the specified certificate is revoked by this CRL.booleanCertSelector. match(Certificate cert)Checks whether the defined criteria of this instance match the specified certificate.booleanX509CertSelector. match(Certificate certificate)Returns whether the specified certificate matches all the criteria collected in this instance.Method parameters in java.security.cert with type arguments of type Certificate Modifier and Type Method Description CertPathCertificateFactorySpi. engineGenerateCertPath(List<? extends Certificate> certificates)Generates aCertPathfrom the provided list of certificates.CertPathCertificateFactory. generateCertPath(List<? extends Certificate> certificates)Generates aCertPathfrom the provided list of certificates. -
Uses of Certificate in java.util.jar
Methods in java.util.jar that return Certificate Modifier and Type Method Description Certificate[]JarEntry. getCertificates()Returns an array ofCertificateObjects associated with this entry ornullif none exists. -
Uses of Certificate in javax.crypto
Methods in javax.crypto with parameters of type Certificate Modifier and Type Method Description voidCipher. init(int opmode, Certificate certificate)Initializes this cipher instance with the public key from the specified certificate.voidCipher. init(int opmode, Certificate certificate, SecureRandom random)Initializes this cipher instance with the public key from the specified certificate and a source of randomness. -
Uses of Certificate in javax.net.ssl
Methods in javax.net.ssl that return Certificate Modifier and Type Method Description Certificate[]HandshakeCompletedEvent. getLocalCertificates()Returns the list of local certificates used during the handshake.abstract Certificate[]HttpsURLConnection. getLocalCertificates()Returns the list of local certificates used during the handshake.Certificate[]SSLSession. getLocalCertificates()Returns the list of certificates that were used to identify the local side to the peer during the handshake.Certificate[]HandshakeCompletedEvent. getPeerCertificates()Return the list of certificates identifying the peer during the handshake.Certificate[]SSLSession. getPeerCertificates()Returns the list of certificates the peer used to identify itself during the handshake.abstract Certificate[]HttpsURLConnection. getServerCertificates()Return the list of certificates identifying the peer during the handshake. -
Uses of Certificate in org.apache.harmony.security.provider.cert
Subclasses of Certificate in org.apache.harmony.security.provider.cert Modifier and Type Class Description classX509CertImplThis class is an implementation of X509Certificate.Methods in org.apache.harmony.security.provider.cert that return Certificate Modifier and Type Method Description CertificateX509CertFactoryImpl. engineGenerateCertificate(InputStream inStream)Generates the X.509 certificate from the data in the stream.Methods in org.apache.harmony.security.provider.cert that return types with arguments of type Certificate Modifier and Type Method Description Collection<? extends Certificate>X509CertFactoryImpl. engineGenerateCertificates(InputStream inStream)Generates the collection of the certificates on the base of provided via input stream encodings.Methods in org.apache.harmony.security.provider.cert with parameters of type Certificate Modifier and Type Method Description booleanX509CRLImpl. isRevoked(Certificate cert)Method parameters in org.apache.harmony.security.provider.cert with type arguments of type Certificate Modifier and Type Method Description CertPathX509CertFactoryImpl. engineGenerateCertPath(List<? extends Certificate> certificates)Constructor parameters in org.apache.harmony.security.provider.cert with type arguments of type Certificate Constructor Description X509CertPathImpl(List<? extends Certificate> certs)Creates an instance of X.509 CertPath over the specified list of certificates. -
Uses of Certificate in org.apache.harmony.security.utils
Methods in org.apache.harmony.security.utils that return Certificate Modifier and Type Method Description static Certificate[]JarUtils. verifySignature(InputStream signature, InputStream signatureBlock)This method handle all the work with PKCS7, ASN1 encoding, signature verifying, and certification path building. -
Uses of Certificate in org.bouncycastle.jcajce.provider.asymmetric.x509
Methods in org.bouncycastle.jcajce.provider.asymmetric.x509 that return Certificate 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. -
Uses of Certificate in org.bouncycastle.jcajce.provider.keystore.bc
Methods in org.bouncycastle.jcajce.provider.keystore.bc that return Certificate Modifier and Type Method Description CertificateBcKeyStoreSpi. engineGetCertificate(String alias)Certificate[]BcKeyStoreSpi. engineGetCertificateChain(String alias)Methods in org.bouncycastle.jcajce.provider.keystore.bc with parameters of type Certificate Modifier and Type Method Description StringBcKeyStoreSpi. engineGetCertificateAlias(Certificate cert)voidBcKeyStoreSpi. engineSetCertificateEntry(String alias, Certificate cert)voidBcKeyStoreSpi. engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)voidBcKeyStoreSpi. engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) -
Uses of Certificate in org.bouncycastle.jcajce.provider.keystore.pkcs12
Methods in org.bouncycastle.jcajce.provider.keystore.pkcs12 that return Certificate Modifier and Type Method Description CertificatePKCS12KeyStoreSpi. engineGetCertificate(String alias)simply return the cert for the private keyCertificate[]PKCS12KeyStoreSpi. engineGetCertificateChain(String alias)Methods in org.bouncycastle.jcajce.provider.keystore.pkcs12 with parameters of type Certificate Modifier and Type Method Description StringPKCS12KeyStoreSpi. engineGetCertificateAlias(Certificate cert)voidPKCS12KeyStoreSpi. engineSetCertificateEntry(String alias, Certificate cert)voidPKCS12KeyStoreSpi. engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)voidPKCS12KeyStoreSpi. engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) -
Uses of Certificate in org.bouncycastle.jce.provider
Subclasses of Certificate in org.bouncycastle.jce.provider Modifier and Type Class Description classX509CertificateObjectMethods in org.bouncycastle.jce.provider with parameters of type Certificate Modifier and Type Method Description booleanX509CRLObject. isRevoked(Certificate cert)Checks whether the given certificate is on this CRL. -
Uses of Certificate in org.bouncycastle.x509
Methods in org.bouncycastle.x509 with parameters of type Certificate Modifier and Type Method Description booleanAttributeCertificateHolder. match(Certificate cert)Deprecated.booleanAttributeCertificateIssuer. match(Certificate cert)Deprecated.booleanX509CertStoreSelector. match(Certificate cert) -
Uses of Certificate in org.conscrypt
Subclasses of Certificate in org.conscrypt Modifier and Type Class Description classOpenSSLX509CertificateMethods in org.conscrypt that return Certificate Modifier and Type Method Description CertificateOpenSSLX509CertificateFactory. engineGenerateCertificate(InputStream inStream)CertificateTrustedCertificateKeyStoreSpi. engineGetCertificate(String alias)Certificate[]TrustedCertificateKeyStoreSpi. engineGetCertificateChain(String alias)CertificateTrustedCertificateStore. getCertificate(String alias)CertificateTrustedCertificateStore. getCertificate(String alias, boolean includeDeletedSystem)Certificate[]OpenSSLSessionImpl. getLocalCertificates()Returns the certificate(s) of the principal (subject) of this concrete SSL session used in the handshaking phase of the connection.Certificate[]SSLSessionImpl. getLocalCertificates()Certificate[]OpenSSLSessionImpl. getPeerCertificates()Return the identity of the peer in this SSL session determined via certificate(s).Certificate[]SSLSessionImpl. getPeerCertificates()Methods in org.conscrypt that return types with arguments of type Certificate Modifier and Type Method Description Collection<? extends Certificate>OpenSSLX509CertificateFactory. engineGenerateCertificates(InputStream inStream)List<? extends Certificate>OpenSSLX509CertPath. getCertificates()Methods in org.conscrypt with parameters of type Certificate Modifier and Type Method Description static byte[][]NativeCrypto. encodeCertificates(Certificate[] certificates)StringTrustedCertificateKeyStoreSpi. engineGetCertificateAlias(Certificate c)voidTrustedCertificateKeyStoreSpi. engineSetCertificateEntry(String alias, Certificate cert)voidTrustedCertificateKeyStoreSpi. engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)voidTrustedCertificateKeyStoreSpi. engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)StringTrustedCertificateStore. getCertificateAlias(Certificate c)voidDigitalSignature. init(Certificate cert)Initiate Signature type by certificatebooleanOpenSSLX509CRL. isRevoked(Certificate cert)Method parameters in org.conscrypt with type arguments of type Certificate Modifier and Type Method Description CertPathOpenSSLX509CertificateFactory. engineGenerateCertPath(List<? extends Certificate> certificates)