Home
last modified time | relevance | path

Searched refs:certificate (Results 1 – 25 of 108) sorted by relevance

12345

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DCertPathReviewerMessages.properties14 CertPathReviewer.notPermittedDN.title = Name constraint error: certificate DN is not permitted
15 CertPathReviewer.notPermittedDN.text = Name constraint error: the certificate DN {0} is not permitt…
16 CertPathReviewer.notPermittedDN.summary = Name constraint error: certificate DN is not permitted.
17 CertPathReviewer.notPermittedDN.details = Name constraint checking error. The certificate DN {0} is…
21 CertPathReviewer.excludedDN.title = Name constraint error: certificate DN is excluded
22 CertPathReviewer.excludedDN.text = Name constraint error: The certificate DN {0} is excluded.
23 CertPathReviewer.excludedDN.summary = Name constraint error: certificate DN is excluded.
24 CertPathReviewer.excludedDN.details = Name constraint checking error. The certificate DN {0} is ins…
29 CertPathReviewer.notPermittedEmail.text = Name constraint error: certificate contains the not permi…
31 CertPathReviewer.notPermittedEmail.details = Name constraint checking error. The certificate contai…
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
DAuthorityKeyIdentifierStructure.java65 X509Certificate certificate) in fromCertificate() argument
70 if (certificate.getVersion() != 3) in fromCertificate()
72 … GeneralName genName = new GeneralName(PrincipalUtil.getIssuerX509Principal(certificate)); in fromCertificate()
74 … (ASN1Sequence)new ASN1InputStream(certificate.getPublicKey().getEncoded()).readObject()); in fromCertificate()
77 … info, new GeneralNames(genName), certificate.getSerialNumber()).toASN1Object(); in fromCertificate()
81 …neralName genName = new GeneralName(PrincipalUtil.getIssuerX509Principal(certificate)); in fromCertificate()
83 …byte[] ext = certificate.getExtensionValue(X509Extensions.SubjectKeyIdentifier.ge… in fromCertificate()
90 … str.getOctets(), new GeneralNames(genName), certificate.getSerialNumber()).toASN1Object(); in fromCertificate()
95 … (ASN1Sequence)new ASN1InputStream(certificate.getPublicKey().getEncoded()).readObject()); in fromCertificate()
98 … info, new GeneralNames(genName), certificate.getSerialNumber()).toASN1Object(); in fromCertificate()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DOkHostnameVerifier.java71 public boolean verify(String host, X509Certificate certificate) { in verify() argument
73 ? verifyIpAddress(host, certificate) in verify()
74 : verifyHostName(host, certificate); in verify()
84 private boolean verifyIpAddress(String ipAddress, X509Certificate certificate) { in verifyIpAddress() argument
85 List<String> altNames = getSubjectAltNames(certificate, ALT_IPA_NAME); in verifyIpAddress()
97 private boolean verifyHostName(String hostName, X509Certificate certificate) { in verifyHostName() argument
100 List<String> altNames = getSubjectAltNames(certificate, ALT_DNS_NAME); in verifyHostName()
109 X500Principal principal = certificate.getSubjectX500Principal(); in verifyHostName()
120 public static List<String> allSubjectAltNames(X509Certificate certificate) { in allSubjectAltNames() argument
121 List<String> altIpaNames = getSubjectAltNames(certificate, ALT_IPA_NAME); in allSubjectAltNames()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/
DJcaSimpleSignerInfoVerifierBuilder.java42 public SignerInformationVerifier build(X509Certificate certificate) in build() argument
45 …atureAlgorithmIdentifierFinder(), helper.createContentVerifierProvider(certificate), helper.create… in build()
62 ContentVerifierProvider createContentVerifierProvider(X509Certificate certificate) in createContentVerifierProvider() argument
65 return new JcaContentVerifierProviderBuilder().build(certificate); in createContentVerifierProvider()
97 ContentVerifierProvider createContentVerifierProvider(X509Certificate certificate) in createContentVerifierProvider() argument
100 … return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(certificate); in createContentVerifierProvider()
132 ContentVerifierProvider createContentVerifierProvider(X509Certificate certificate) in createContentVerifierProvider() argument
135 return new JcaContentVerifierProviderBuilder().setProvider(provider).build(certificate); in createContentVerifierProvider()
DJcaSignerInfoVerifierBuilder.java72 public SignerInformationVerifier build(X509Certificate certificate) in build() argument
75 …er(sigAlgNameGen, sigAlgIDFinder, helper.createContentVerifierProvider(certificate), digestProvide… in build()
92 ContentVerifierProvider createContentVerifierProvider(X509Certificate certificate) in createContentVerifierProvider() argument
95 return new JcaContentVerifierProviderBuilder().build(certificate); in createContentVerifierProvider()
127 ContentVerifierProvider createContentVerifierProvider(X509Certificate certificate) in createContentVerifierProvider() argument
130 … return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(certificate); in createContentVerifierProvider()
162 ContentVerifierProvider createContentVerifierProvider(X509Certificate certificate) in createContentVerifierProvider() argument
165 return new JcaContentVerifierProviderBuilder().setProvider(provider).build(certificate); in createContentVerifierProvider()
DJcaSignerInfoGeneratorBuilder.java63 public SignerInfoGenerator build(ContentSigner contentSigner, X509Certificate certificate) in build() argument
66 return this.build(contentSigner, new JcaX509CertificateHolder(certificate)); in build()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DIssuerAndSerialNumber.java73 Certificate certificate) in IssuerAndSerialNumber() argument
75 this.name = certificate.getIssuer(); in IssuerAndSerialNumber()
76 this.serialNumber = certificate.getSerialNumber(); in IssuerAndSerialNumber()
83 X509CertificateStructure certificate) in IssuerAndSerialNumber() argument
85 this.name = certificate.getIssuer(); in IssuerAndSerialNumber()
86 this.serialNumber = certificate.getSerialNumber(); in IssuerAndSerialNumber()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DHostnameVerifierTest.java396 X509Certificate certificate = certificate("" in subjectAltUsesLocalDomainAndIp() local
407 assertEquals(new X500Principal("CN=localhost"), certificate.getSubjectX500Principal()); in subjectAltUsesLocalDomainAndIp()
409 FakeSSLSession session = new FakeSSLSession(certificate); in subjectAltUsesLocalDomainAndIp()
546 private X509Certificate certificate(String certificate) throws Exception { in certificate() argument
548 new ByteArrayInputStream(certificate.getBytes(Util.UTF_8))); in certificate()
551 private SSLSession session(String certificate) throws Exception { in session() argument
552 return new FakeSSLSession(certificate(certificate)); in session()
/external/openssh/
DPROTOCOL.certkeys1 This document describes a simple public-key certificate authentication
15 system already in SSH to allow certificate-based authentication. The
45 algorithm names to add support for certificate authentication without
56 The certificate key types take a similar high-level format (note: data
63 RSA certificate
81 DSA certificate
101 ECDSA certificate
132 serial is an optional certificate serial number set by the CA to
137 type specifies whether this certificate is for identification of a user
146 certificate is valid; hostnames for SSH_CERT_TYPE_HOST certificates and
[all …]
Dssh-keygen.0163 -h When signing a key, create a host certificate instead of a user
164 certificate. Please see the CERTIFICATES section for details.
192 every key or certificate presented on the command line.
197 -L Prints the contents of a certificate.
221 included in a certificate when signing a key. Multiple
226 Specify a certificate option when signing a key. This option may
237 command specified by the user when the certificate is
271 Restrict the source addresses from which the certificate
331 Specify a validity interval when signing a certificate. A
333 the certificate is valid beginning now and expiring at that time,
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DKeyStorePrivateKeyEntryTest.java62 Certificate certificate = cf.generateCertificate(certArray); in testGetCertificateChain() local
63 assertTrue(certificate instanceof X509Certificate); in testGetCertificateChain()
65 String algorithm = certificate.getPublicKey().getAlgorithm(); in testGetCertificateChain()
74 privateKey, new Certificate[] { certificate }); in testGetCertificateChain()
DKeyStore3Test.java52 private Certificate certificate; field in KeyStore3Test
83 certificate = cf.generateCertificate(certArray); in KeyStore3Test()
113 mockKeyStore.setKeyEntry("Alias", null, null, new Certificate[] { certificate }); in test_setKeyEntry_key_is_null()
134 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[] { certificate }); in test_setKeyEntry_key_is_private()
143 mockKeyStore.setKeyEntry("Alias3", key, null, new Certificate[] { certificate }); in test_setKeyEntry_key_is_public()
151 mockKeyStore.setCertificateEntry(null, certificate); in test_setCertificateEntry_null()
/external/apache-http/android/src/android/net/http/
DLoggingEventHandler.java69 public void certificate(SslCertificate certificate) { in certificate() method in LoggingEventHandler
71 HttpLog.v("LoggingEventHandler: certificate(): " + certificate); in certificate()
DEventHandler.java110 public void certificate(SslCertificate certificate); in certificate() argument
/external/lldb/docs/
Dcode-signing.txt2 builds are set to code sign using a code signing certificate named
32 - Double click on your new lldb_codesign certificate
36 - Drag the new "lldb_codesign" code signing certificate (not the public or private
39 move this certificate to the "System" keychain. You'll have to authorize a few
50 - Drag the "lldb_codesign" certificate from the "System" keychain back into the
61 was built with this code signing certificate, you will need to authenticate once.
/external/ipsec-tools/src/racoon/samples/
Dracoon.conf.sample13 # racoon will look for certificate file in the directory,
14 # if the certificate/certificate request payload is received.
15 #path certificate "/usr/local/openssl/certs" ;
Dracoon.conf.in13 # racoon will look for certificate file in the directory,
14 # if the certificate/certificate request payload is received.
15 path certificate "@sysconfdir_x@/cert";
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCertificatePinner.java167 public static String pin(Certificate certificate) { in pin() argument
168 if (!(certificate instanceof X509Certificate)) { in pin()
171 return "sha1/" + sha1((X509Certificate) certificate).base64(); in pin()
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DCertificatePinning.java47 for (Certificate certificate : response.handshake().peerCertificates()) { in run()
48 System.out.println(CertificatePinner.pin(certificate)); in run()
DCheckHandshake.java34 for (Certificate certificate : chain.connection().getHandshake().peerCertificates()) {
35 String pin = CertificatePinner.pin(certificate);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DPKIXCertStoreSelector.java56 public boolean match(Certificate certificate) in getCertificates()
58 return (selector == null) ? true : selector.match(certificate); in getCertificates()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DJcaContentVerifierProviderBuilder.java56 public ContentVerifierProvider build(final X509Certificate certificate) in build() argument
63 certHolder = new JcaX509CertificateHolder(certificate); in build()
91 sig.initVerify(certificate.getPublicKey()); in build()
100 Signature rawSig = createRawSig(algorithm, certificate.getPublicKey()); in build()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
DCertificateTest.java167 Certificate certificate = new Certificate(tbsCertificate, signature, new byte[10]); in testCertificate() local
169 encoding = certificate.getEncoded(); in testCertificate()
173 encoding = Certificate.ASN1.encode(certificate); in testCertificate()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
DSslContextBuilder.java86 X509Certificate certificate = selfSignedCertificate(keyPair, "1"); in build() local
90 Certificate[] certificateChain = { certificate }; in build()
92 keyStore.setCertificateEntry("cert", certificate); in build()
/external/ipsec-tools/src/racoon/samples/roadwarrior/
DREADME3 gateway authenticates to the client using a certificate, and the client
32 to install a server certificate and key in /etc/openssl/certs/server.crt
44 certificate authority that signed the VPN gateway certificate in

12345