HomeSort by relevance Sort by last modified time
    Searched defs:certificate (Results 26 - 50 of 392) sorted by null

12 3 4 5 6 7 8 91011>>

  /libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
X509KeyManagerImpl.java 7 import java.security.cert.Certificate;
24 // creating a certificate
25 String certificate = "-----BEGIN CERTIFICATE-----\n" field in class:X509KeyManagerImpl
39 + "-----END CERTIFICATE-----\n";
41 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate
44 String certificate2 = "-----BEGIN CERTIFICATE-----\n"
58 + "-----END CERTIFICATE-----\n";
63 String certificate3 = "-----BEGIN CERTIFICATE-----\n"
82 + "-----END CERTIFICATE-----\n"
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
Identity2Test.java 47 public static class CertificateImpl implements java.security.Certificate {
86 String certificate = "-----BEGIN CERTIFICATE-----\n" field in class:Identity2Test
100 + "-----END CERTIFICATE-----\n";
104 String certificate2 = "-----BEGIN CERTIFICATE-----\n"
118 + "-----END CERTIFICATE-----\n";
124 certArray = new ByteArrayInputStream(certificate
224 java.security.Certificate[] certs = sub.certificates();
225 assertEquals("Certificate not contained in the identity",
230 * @tests java.security.Identity#addCertificate(java.security.Certificate)
    [all...]
KeyStore3Test.java 38 import java.security.cert.Certificate;
52 private Certificate certificate; field in class:KeyStore3Test
58 String certificateData = "-----BEGIN CERTIFICATE-----\n"
72 + "-----END CERTIFICATE-----\n";
83 certificate = cf.generateCertificate(certArray);
113 mockKeyStore.setKeyEntry("Alias", null, null, new Certificate[] { certificate });
128 new Certificate[0]);
134 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[] { certificate })
    [all...]
KeyStore2Test.java 38 import java.security.cert.Certificate;
71 // creating a certificate
72 String certificate = "-----BEGIN CERTIFICATE-----\n" field in class:KeyStore2Test
86 + "-----END CERTIFICATE-----\n";
88 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate
91 String certificate2 = "-----BEGIN CERTIFICATE-----\n"
105 + "-----END CERTIFICATE-----\n";
110 String certificate3 = "-----BEGIN CERTIFICATE-----\n"
129 + "-----END CERTIFICATE-----\n"
    [all...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
CMSSignedGenerator.java 109 * Add a certificate to the certificate set to be included with the generated SignedData message.
111 * @param certificate the certificate to be included.
112 * @throws CMSException if the certificate cannot be encoded for adding.
115 X509CertificateHolder certificate)
118 certs.add(certificate.toASN1Structure());
122 * Add the certificates in certStore to the certificate set to be included with the generated SignedData message.
158 * Add the attribute certificates in attrStore to the certificate set to be included with the generated SignedData message.
161 * @throws CMSException if the attribute certificate cannot be encoded for adding
    [all...]
  /external/curl/lib/
x509asn1.h 96 /* X509 certificate: RFC 5280. */
98 curl_asn1Element certificate; member in struct:__anon8628
  /external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
SslContextBuilder.java 30 import java.security.cert.Certificate;
42 * self-signed certificate for a single hostname such as "localhost".
84 // Generate public and private keys and use them to make a self-signed certificate.
86 X509Certificate certificate = selfSignedCertificate(keyPair, "1"); local
90 Certificate[] certificateChain = { certificate };
92 keyStore.setCertificateEntry("cert", certificate);
114 * Generates a certificate for {@code hostName} containing {@code keyPair}'s
  /external/webrtc/webrtc/base/
opensslidentity.cc 36 // Random bits for certificate serial number
39 // Certificate validity lifetime
41 // Certificate validity window.
92 // Generate a self-signed certificate, with the public key from the
95 LOG(LS_INFO) << "Making certificate for " << params.common_name;
121 // (through the secure XMPP channel), and so the certificate
123 // arbitrary common_name. Note that this certificate goes out in
143 LOG(LS_INFO) << "Returning certificate";
191 // Print a certificate to the log, for debugging.
216 LogSSLErrors("Generating certificate");
406 OpenSSLCertificate* certificate = local
461 const OpenSSLCertificate& OpenSSLIdentity::certificate() const { function in class:rtc::OpenSSLIdentity
    [all...]
  /external/webrtc/webrtc/p2p/base/
dtlstransportchannel_unittest.cc 60 const rtc::scoped_refptr<rtc::RTCCertificate>& certificate() { function in class:DtlsTestClient
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
X509KeyManagerTest.java 36 Certificate:
80 String certificate = "-----BEGIN CERTIFICATE-----\n" field in class:X509KeyManagerTest
99 + "-----END CERTIFICATE-----";
101 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate
230 Certificate:
258 OpenSSL Generated Certificate
274 String certificate2 = "-----BEGIN CERTIFICATE-----\n"
291 + "-----END CERTIFICATE-----";
422 Certificate
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
KeyManagerFactoryTest.java 26 import java.security.cert.Certificate;
237 X509Certificate certificate = certificateChain[0]; local
238 assertEquals(keyType, keyAlgName, certificate.getPublicKey().getAlgorithm());
240 String sigAlgName = certificate.getSigAlgName();
245 Arrays.<Certificate>asList(privateKeyEntry.getCertificateChain()),
246 Arrays.<Certificate>asList(certificateChain));
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStore3Test.java 37 import java.security.cert.Certificate;
49 private Certificate certificate; field in class:KeyStore3Test
55 String certificateData = "-----BEGIN CERTIFICATE-----\n"
69 + "-----END CERTIFICATE-----\n";
74 certificate = cf.generateCertificate(certArray);
104 mockKeyStore.setKeyEntry("Alias", null, null, new Certificate[]{certificate});
119 new Certificate[0]);
125 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[]{certificate})
    [all...]
Identity2Test.java 23 import java.security.Certificate;
45 public static class CertificateImpl implements java.security.Certificate {
84 String certificate = "-----BEGIN CERTIFICATE-----\n" field in class:Identity2Test
98 + "-----END CERTIFICATE-----\n";
100 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate.getBytes());
102 String certificate2 = "-----BEGIN CERTIFICATE-----\n"
116 + "-----END CERTIFICATE-----\n";
253 java.security.Certificate[] certs = sub.certificates();
254 assertEquals("Certificate not contained in the identity"
    [all...]
  /libcore/luni/src/test/java/tests/security/cert/
X509CRL2Test.java 26 import java.security.cert.Certificate;
41 String certificate = "-----BEGIN CERTIFICATE-----\n" field in class:X509CRL2Test
63 + "-----END CERTIFICATE-----\n";
68 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate
194 public boolean isRevoked(Certificate cert) {
X509CRLTest.java 38 import java.security.cert.Certificate;
57 String certificate = "-----BEGIN CERTIFICATE-----\n" field in class:X509CRLTest
71 + "-----END CERTIFICATE-----\n";
73 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate
84 public boolean isRevoked(Certificate cert) {
267 * getRevokedCertificate(X509Certificate certificate) method testing.
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
BuildPreferencePage.java 41 import java.security.cert.Certificate;
301 X509Certificate certificate = (X509Certificate)provider.getCertificate(); local
303 if (key == null || certificate == null) {
310 FingerprintUtils.getFingerprint(certificate, "MD5"));
315 FingerprintUtils.getFingerprint(certificate, "SHA1"));
319 if (certificate.getNotAfter().compareTo(today) < 0) {
320 showErrorMessage("Certificate is expired!");
324 if (certificate.getNotBefore().compareTo(today) > 0) {
325 showErrorMessage("Certificate validity is in the future!");
  /system/extras/verity/
BootSignature.java 27 import java.security.cert.Certificate;
51 * certificate ::= Certificate
67 private ASN1Encodable certificate; field in class:BootSignature
101 certificate = sequence.getObjectAt(1);
102 byte[] encoded = ((ASN1Object) certificate).getEncoded();
151 certificate = s.readObject();
182 v.add(certificate);
302 if (args.length >= 4 && "-certificate".equals(args[2])) {
303 /* args[3] is the path to a public key certificate */
    [all...]
KeystoreSigner.java 90 private X509Certificate certificate; field in class:BootKeystore
106 certificate = cert;
153 signature.setCertificate(certificate);
164 "<certificate.x509.pem> <outfile> <publickey0.der> " +
  /system/tpm/attestation/server/
attestation_service.cc 350 std::string certificate; local
358 &certificate)) {
365 set_identity_credential(certificate);
371 result->set_certificate(certificate);
838 LOG(WARNING) << "Certificate is empty.";
854 const std::string& certificate) {
855 const char kBeginCertificate[] = "-----BEGIN CERTIFICATE-----\n";
856 const char kEndCertificate[] = "-----END CERTIFICATE-----";
859 pem += brillo::data_encoding::Base64EncodeWrapLines(certificate);
  /build/core/
package_internal.mk 476 # an explicit certificate, use the default.
491 # If this is not an absolute certificate, assign it to a generic one.
496 certificate := $(LOCAL_CERTIFICATE).x509.pem macro
498 $(LOCAL_BUILT_MODULE): $(private_key) $(certificate) $(SIGNAPK_JAR)
500 $(LOCAL_BUILT_MODULE): PRIVATE_CERTIFICATE := $(certificate)
503 PACKAGES.$(LOCAL_PACKAGE_NAME).CERTIFICATE := $(certificate)
617 $(built_apk_splits): PRIVATE_CERTIFICATE := $(certificate)
  /external/tlsdate/src/
tlsdate-helper-plan9.c 392 verb ("V: Found wildcard in at start of provided certificate name\n");
439 verb ("V: Not a valid wildcard certificate\n");
470 X509 *certificate; local
477 certificate = SSL_get_peer_certificate(ssl);
478 if (NULL == certificate)
480 die ("Unable to extract certificate\n");
484 xname = X509_get_subject_name(certificate);
502 X509_free(certificate);
519 die ("Getting certificate failed\n");
632 die ("certificate has expired\n")
662 X509 *certificate; local
692 const x509_cert *certificate; local
725 X509 *certificate; local
    [all...]
tlsdate-helper.c 528 verb_debug ("V: Found wildcard in at start of provided certificate name");
575 verb_debug ("V: Not a valid wildcard certificate");
606 X509 *certificate; local
613 certificate = SSL_get_peer_certificate(ssl);
614 if (NULL == certificate)
616 die ("Unable to extract certificate");
620 xname = X509_get_subject_name(certificate);
638 X509_free(certificate);
655 die ("Getting certificate failed");
769 die ("certificate has expired")
799 X509 *certificate; local
829 const x509_cert *certificate; local
862 X509 *certificate; local
    [all...]
  /external/webrtc/talk/app/webrtc/
statscollector.cc 541 // SSLCertificate::Equals() method to detect certificate changes.
581 // Produces a chain of StatsReports representing this certificate and the rest
592 // certificate's issuer's report ID is known before the child certificate's
593 // report is generated. The root certificate does not have an issuer ID
600 // Add the leaf certificate.
709 rtc::scoped_refptr<rtc::RTCCertificate> certificate; local
711 transport_iter.second.transport_name, &certificate)) {
712 StatsReport* r = AddCertificateReports(&(certificate->ssl_certificate()));
    [all...]
  /frameworks/av/media/libmedia/
IDrm.cpp 262 Vector<uint8_t> &certificate,
273 readVector(reply, certificate);
729 Vector<uint8_t> certificate; local
732 status_t result = provideProvisionResponse(response, certificate, wrappedKey);
733 writeVector(reply, certificate);
  /frameworks/base/tests/CoreTests/android/core/
TestEventHandler.java 445 * Implements the EventHandler certificate method called every
448 public void certificate(SslCertificate certificate) {} method in class:TestEventHandler
496 * SSL certificate error callback. Handles SSL error(s) on the way
505 " certificate: " + error.getCertificate());
510 expectDetails.append("SSL Certificate error event received "+
527 if (expectSslErrors == -1) // && expectSslCertificate == certificate?
730 public void expectSSLCertificateError(SslCertificate certificate) {
732 expectCertificate = certificate;

Completed in 8479 milliseconds

12 3 4 5 6 7 8 91011>>