Uses of Class
java.security.cert.X509Certificate
| Package | Description |
|---|---|
| com.squareup.okhttp.internal.tls | |
| 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.apache.harmony.security.x509 | |
| org.apache.http.conn.ssl |
TLS/SSL specific parts of the HttpConn API.
|
| org.bouncycastle.cert.jcajce | |
| org.bouncycastle.cms | |
| org.bouncycastle.cms.jcajce | |
| org.bouncycastle.jce | |
| org.bouncycastle.jce.provider | |
| org.bouncycastle.operator.jcajce | |
| org.bouncycastle.x509 | |
| org.bouncycastle.x509.extension | |
| org.conscrypt |
-
Uses of X509Certificate in com.squareup.okhttp.internal.tls
Methods in com.squareup.okhttp.internal.tls with parameters of type X509Certificate Modifier and Type Method Description booleanOkHostnameVerifier. verify(String host, X509Certificate certificate) -
Uses of X509Certificate in java.security.cert
Methods in java.security.cert that return X509Certificate Modifier and Type Method Description X509CertificateX509CertSelector. getCertificate()Returns the certificate that a matching certificate must be equal to.X509CertificateX509CRLSelector. getCertificateChecking()Returns the certificate hint to find CRLs.X509CertificateTrustAnchor. getTrustedCert()Returns the certificate of this trusted certificate authority.Methods in java.security.cert with parameters of type X509Certificate Modifier and Type Method Description X509CRLEntryX509CRL. getRevokedCertificate(X509Certificate certificate)Returns the CRL entry for the specified certificate.voidX509CertSelector. setCertificate(X509Certificate certificate)Sets the certificate that a matching certificate must be equal to.voidX509CRLSelector. setCertificateChecking(X509Certificate cert)Sets a certificate hint to find CRLs.Constructors in java.security.cert with parameters of type X509Certificate Constructor Description TrustAnchor(X509Certificate trustedCert, byte[] nameConstraints)Creates a newTrustAnchorwith the specified certificate and name constraints. -
Uses of X509Certificate in javax.net.ssl
Methods in javax.net.ssl that return X509Certificate Modifier and Type Method Description X509Certificate[]X509TrustManager. getAcceptedIssuers()Returns the list of certificate issuer authorities which are trusted for authentication of peers.X509Certificate[]X509KeyManager. getCertificateChain(String alias)Returns the certificate chain for the specified alias.Methods in javax.net.ssl with parameters of type X509Certificate 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.booleanDefaultHostnameVerifier. verify(String host, X509Certificate certificate) -
Uses of X509Certificate in org.apache.harmony.security.provider.cert
Subclasses of X509Certificate 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 types with arguments of type X509Certificate Modifier and Type Method Description List<X509Certificate>X509CertPathImpl. getCertificates()Methods in org.apache.harmony.security.provider.cert with parameters of type X509Certificate Modifier and Type Method Description X509CRLEntryX509CRLImpl. getRevokedCertificate(X509Certificate certificate)Searches for certificate in CRL. -
Uses of X509Certificate in org.apache.harmony.security.x509
Methods in org.apache.harmony.security.x509 with parameters of type X509Certificate Modifier and Type Method Description booleanNameConstraints. isAcceptable(X509Certificate cert)Apply the name restrictions specified by this NameConstraints instance to the subject distinguished name and subject alternative names of specified X509Certificate. -
Uses of X509Certificate in org.apache.http.conn.ssl
Methods in org.apache.http.conn.ssl with parameters of type X509Certificate Modifier and Type Method Description static String[]AbstractVerifier. getCNs(X509Certificate cert)static String[]AbstractVerifier. getDNSSubjectAlts(X509Certificate cert)Extracts the array of SubjectAlt DNS names from an X509Certificate.voidAbstractVerifier. verify(String host, X509Certificate cert)voidX509HostnameVerifier. verify(String host, X509Certificate cert) -
Uses of X509Certificate in org.bouncycastle.cert.jcajce
Constructors in org.bouncycastle.cert.jcajce with parameters of type X509Certificate Constructor Description JcaX509CertificateHolder(X509Certificate cert)Base constructor. -
Uses of X509Certificate in org.bouncycastle.cms
Methods in org.bouncycastle.cms with parameters of type X509Certificate Modifier and Type Method Description voidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String digestOID)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String encryptionOID, String digestOID)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String encryptionOID, String digestOID, AttributeTable signedAttr, AttributeTable unsignedAttr)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String encryptionOID, String digestOID, CMSAttributeTableGenerator signedAttrGen, CMSAttributeTableGenerator unsignedAttrGen)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String digestOID, AttributeTable signedAttr, AttributeTable unsignedAttr)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String digestOID, CMSAttributeTableGenerator signedAttrGen, CMSAttributeTableGenerator unsignedAttrGen)Deprecated.use addSignerInfoGeneratorbooleanSignerInformation. verify(X509Certificate cert, String sigProvider)Deprecated.use verify(ContentVerifierProvider)booleanSignerInformation. verify(X509Certificate cert, Provider sigProvider)Deprecated.use verify(ContentVerifierProvider) -
Uses of X509Certificate in org.bouncycastle.cms.jcajce
Methods in org.bouncycastle.cms.jcajce with parameters of type X509Certificate Modifier and Type Method Description SignerInfoGeneratorJcaSignerInfoGeneratorBuilder. build(ContentSigner contentSigner, X509Certificate certificate)SignerInformationVerifierJcaSignerInfoVerifierBuilder. build(X509Certificate certificate)SignerInformationVerifierJcaSimpleSignerInfoVerifierBuilder. build(X509Certificate certificate) -
Uses of X509Certificate in org.bouncycastle.jce
Methods in org.bouncycastle.jce with parameters of type X509Certificate Modifier and Type Method Description static X509PrincipalPrincipalUtil. getIssuerX509Principal(X509Certificate cert)return the issuer of the given cert as an X509PrincipalObject.static X509PrincipalPrincipalUtil. getSubjectX509Principal(X509Certificate cert)return the subject of the given cert as an X509PrincipalObject. -
Uses of X509Certificate in org.bouncycastle.jce.provider
Subclasses of X509Certificate in org.bouncycastle.jce.provider Modifier and Type Class Description classX509CertificateObjectMethods in org.bouncycastle.jce.provider with parameters of type X509Certificate Modifier and Type Method Description protected static voidCertPathValidatorUtilities. addAdditionalStoresFromAltNames(X509Certificate cert, ExtendedPKIXParameters pkixParams)protected CertPathBuilderResultPKIXCertPathBuilderSpi. build(X509Certificate tbvCert, ExtendedPKIXBuilderParameters pkixParams, List tbvPath)protected static voidRFC3280CertPathUtilities. checkCRLs(ExtendedPKIXParameters paramsPKIX, X509Certificate cert, Date validDate, X509Certificate sign, PublicKey workingPublicKey, List certPathCerts)Checks a certificate if it is revoked.protected static CollectionCertPathValidatorUtilities. findIssuerCerts(X509Certificate cert, ExtendedPKIXBuilderParameters pkixParams)Find the issuer certificates of a given certificate.protected static TrustAnchorCertPathValidatorUtilities. findTrustAnchor(X509Certificate cert, Set trustAnchors)Search the given Set of TrustAnchor's for one that is the issuer of the given X509 certificate.protected static TrustAnchorCertPathValidatorUtilities. findTrustAnchor(X509Certificate cert, Set trustAnchors, String sigProvider)Search the given Set of TrustAnchor's for one that is the issuer of the given X509 certificate.protected static X500PrincipalCertPathValidatorUtilities. getSubjectPrincipal(X509Certificate cert)protected static booleanCertPathValidatorUtilities. isSelfIssued(X509Certificate cert)protected static voidCertPathValidatorUtilities. prepareNextCertB1(int i, List[] policyNodes, String id_p, Map m_idp, X509Certificate cert)protected static voidRFC3280CertPathUtilities. processCertA(CertPath certPath, ExtendedPKIXParameters paramsPKIX, int index, PublicKey workingPublicKey, boolean verificationAlreadyPerformed, X500Principal workingIssuerName, X509Certificate sign)protected static SetRFC3280CertPathUtilities. processCRLA1i(Date currentDate, ExtendedPKIXParameters paramsPKIX, X509Certificate cert, X509CRL crl)protected static Set[]RFC3280CertPathUtilities. processCRLA1ii(Date currentDate, ExtendedPKIXParameters paramsPKIX, X509Certificate cert, X509CRL crl)protected static SetRFC3280CertPathUtilities. processCRLF(X509CRL crl, Object cert, X509Certificate defaultCRLSignCert, PublicKey defaultCRLSignKey, ExtendedPKIXParameters paramsPKIX, List certPathCerts)Obtain and validate the certification path for the complete CRL issuer.protected static voidCertPathValidatorUtilities. verifyX509Certificate(X509Certificate cert, PublicKey publicKey, String sigProvider)protected static intRFC3280CertPathUtilities. wrapupCertA(int explicitPolicy, X509Certificate cert) -
Uses of X509Certificate in org.bouncycastle.operator.jcajce
Methods in org.bouncycastle.operator.jcajce with parameters of type X509Certificate Modifier and Type Method Description ContentVerifierProviderJcaContentVerifierProviderBuilder. build(X509Certificate certificate) -
Uses of X509Certificate in org.bouncycastle.x509
Methods in org.bouncycastle.x509 that return X509Certificate Modifier and Type Method Description X509CertificateX509V1CertificateGenerator. generate(PrivateKey key)Deprecated.generate an X509 certificate, based on the current issuer and subject using the default provider.X509CertificateX509V1CertificateGenerator. generate(PrivateKey key, String provider)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing, and the passed in source of randomness (if required).X509CertificateX509V1CertificateGenerator. generate(PrivateKey key, String provider, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing, and the passed in source of randomness (if required).X509CertificateX509V1CertificateGenerator. generate(PrivateKey key, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject using the default provider and the passed in source of randomnessX509CertificateX509V3CertificateGenerator. generate(PrivateKey key)Deprecated.generate an X509 certificate, based on the current issuer and subject using the default provider.X509CertificateX509V3CertificateGenerator. generate(PrivateKey key, String provider)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing.X509CertificateX509V3CertificateGenerator. generate(PrivateKey key, String provider, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing and the supplied source of randomness, if required.X509CertificateX509V3CertificateGenerator. generate(PrivateKey key, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject using the default provider, and the passed in source of randomness (if required).X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key)Deprecated.use generate(key, "BC")X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key, String provider)Deprecated.use generate()X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key, String provider, SecureRandom random)Deprecated.use generate()X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key, SecureRandom random)Deprecated.use generate(key, random, "BC")X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key)Deprecated.use generate(key, "BC")X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key, String provider)Deprecated.use generate()X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key, String provider, SecureRandom random)Deprecated.use generate()X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key, SecureRandom random)Deprecated.use generate(key, random, "BC")Methods in org.bouncycastle.x509 with parameters of type X509Certificate Modifier and Type Method Description voidX509V3CertificateGenerator. copyAndAddExtension(String oid, boolean critical, X509Certificate cert)Deprecated.add a given extension field for the standard extensions tag (tag 3) copying the extension value from another certificate.voidX509V3CertificateGenerator. copyAndAddExtension(DERObjectIdentifier oid, boolean critical, X509Certificate cert)Deprecated.add a given extension field for the standard extensions tag (tag 3) copying the extension value from another certificate.Constructors in org.bouncycastle.x509 with parameters of type X509Certificate Constructor Description AttributeCertificateHolder(X509Certificate cert)Deprecated. -
Uses of X509Certificate in org.bouncycastle.x509.extension
Methods in org.bouncycastle.x509.extension with parameters of type X509Certificate Modifier and Type Method Description static CollectionX509ExtensionUtil. getIssuerAlternativeNames(X509Certificate cert)static CollectionX509ExtensionUtil. getSubjectAlternativeNames(X509Certificate cert)Constructors in org.bouncycastle.x509.extension with parameters of type X509Certificate Constructor Description AuthorityKeyIdentifierStructure(X509Certificate certificate)Deprecated.Create an AuthorityKeyIdentifier using the passed in certificate's public key, issuer and serial number. -
Uses of X509Certificate in org.conscrypt
Subclasses of X509Certificate in org.conscrypt Modifier and Type Class Description classOpenSSLX509CertificateMethods in org.conscrypt that return X509Certificate Modifier and Type Method Description X509CertificateTrustedCertificateStore. findIssuer(X509Certificate c)This non-KeyStoreSpipublic interface is used byTrustManagerImplto locate the CA certificate that signed the providedX509Certificate.X509Certificate[]TrustManagerImpl. getAcceptedIssuers()X509Certificate[]KeyManagerImpl. getCertificateChain(String alias)Methods in org.conscrypt that return types with arguments of type X509Certificate Modifier and Type Method Description List<X509Certificate>TrustManagerImpl. checkServerTrusted(X509Certificate[] chain, String authType, String host)Validates whether a server is trusted.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.Methods in org.conscrypt with parameters of type X509Certificate 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.TrustAnchorTrustedCertificateIndex. findByIssuerAndSignature(X509Certificate cert)TrustAnchorTrustedCertificateIndex. findBySubjectAndPublicKey(X509Certificate cert)X509CertificateTrustedCertificateStore. findIssuer(X509Certificate c)This non-KeyStoreSpipublic interface is used byTrustManagerImplto locate the CA certificate that signed the providedX509Certificate.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.X509CRLEntryOpenSSLX509CRL. getRevokedCertificate(X509Certificate certificate)TrustAnchorTrustedCertificateIndex. index(X509Certificate cert)voidTrustedCertificateStore. installCertificate(X509Certificate cert)This non-KeyStoreSpipublic interface is used by theKeyChainServiceto install new CA certificates.booleanTrustedCertificateStore. isTrustAnchor(X509Certificate c)This non-KeyStoreSpipublic interface is used byTrustManagerImplto locate a CA certificate with the same name and public key as the providedX509Certificate.booleanTrustedCertificateStore. isUserAddedCertificate(X509Certificate cert)Returns true to indicate that the certificate was added by the user, false otherwise.Method parameters in org.conscrypt with type arguments of type X509Certificate Modifier and Type Method Description booleanCertPinManager. chainIsNotPinned(String hostname, List<X509Certificate> chain)This is the public interface for cert pinning.booleanPinListEntry. chainIsNotPinned(List<X509Certificate> chain)Checks the given chain against the pin list corresponding to this entry.static voidPinFailureLogger. log(String cn, boolean chainContainsUserCert, boolean pinIsEnforcing, List<X509Certificate> chain)protected static voidPinFailureLogger. writeToLog(String cn, boolean chainContainsUserCert, boolean pinIsEnforcing, List<X509Certificate> chain)Constructors in org.conscrypt with parameters of type X509Certificate Constructor Description CertificateMessage(X509Certificate[] certs)Creates outbound messageCertificateRequest(byte[] certificate_types, X509Certificate[] accepted)Creates outbound messageOpenSSLSessionImpl(long sslSessionNativePointer, X509Certificate[] localCertificates, X509Certificate[] peerCertificates, String peerHost, int peerPort, org.conscrypt.AbstractSessionContext sessionContext)Class constructor creates an SSL session context given the appropriate SSL parameters.Constructor parameters in org.conscrypt with type arguments of type X509Certificate Constructor Description OpenSSLX509CertPath(List<? extends X509Certificate> certificates)