/external/boringssl/src/ssl/test/runner/ |
common.go | 119 // Certificate types (for certificateRequestMsg) 121 CertTypeRSASign = 1 // A certificate containing an RSA key 122 CertTypeDSSSign = 2 // A certificate containing a DSA key 123 CertTypeRSAFixedDH = 3 // A certificate containing a static DH key 124 CertTypeDSSFixedDH = 4 // A certificate containing a static DH key 127 CertTypeECDSASign = 64 // A certificate containing an ECDSA-capable public key, signed with ECDSA. 128 CertTypeRSAFixedECDH = 65 // A certificate containing an ECDH-capable public key, signed with RSA. 129 CertTypeECDSAFixedECDH = 66 // A certificate containing an ECDH-capable public key, signed with ECDSA. 189 PeerCertificates []*x509.Certificate // certificate chain presented by remote pee [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Signature_Impl2Test.java | 231 private class MyCertificate extends java.security.cert.Certificate {
|
/external/nist-pkits/ |
extract-pkits-tests.pl | 145 if ($_ =~ /^\s*4\.8 Certificate Policies\s*$/) {
|
/frameworks/base/core/java/android/security/net/config/ |
DirectoryCertificateSource.java | 28 import java.security.cert.Certificate;
|
/frameworks/base/keystore/java/android/security/ |
KeyPairGeneratorSpec.java | 30 import java.security.cert.Certificate; 48 * {@link Certificate} chain. 50 * The KeyPair generator will create a self-signed certificate with the subject 55 * The self-signed X.509 certificate may be replaced at a later time by a 56 * certificate signed by a real Certificate Authority. 92 * {@link Certificate} chain. 94 * The KeyPair generator will create a self-signed certificate with the 107 * @param serialNumber X509 v3 certificate serial number 108 * @param startDate the start of the self-signed certificate validity perio [all...] |
KeyChain.java | 41 import java.security.cert.Certificate; 56 * their corresponding certificate chains in credential storage. 69 * certificate chains. The chosen alias will be returned by the 88 * Certificate Authority (CA) certificates will be trusted by all 110 * Package name for the Certificate Installer. 151 * Optional extra to specify an X.509 certificate to install on 158 * name for the installed certificate. 160 // Compatible with old android.security.Credentials.CERTIFICATE 174 * private key and associated certificate chain will be installed. 205 * certificate or a PKCS#12 key store for installation. Thes [all...] |
/frameworks/base/media/java/android/media/ |
MediaDrm.java | 135 * Specify no certificate type 142 * Specify X.509 certificate type 458 * This event type indicates that the app needs to request a certificate from 829 * Contains the opaque data an app uses to request a certificate from a provisioning [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLSessionTest.java | 26 import java.security.cert.Certificate; 160 Certificate cert = store.getCertificate("mykey"); 161 Certificate[] certs = clientSession.getLocalCertificates(); 187 Certificate[] res = clientSession.getPeerCertificates();
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
PathClassLoaderTest.java | 26 import java.security.cert.Certificate;
|
/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...] |
/prebuilts/go/darwin-x86/src/crypto/tls/ |
generate_cert.go | 7 // Generate a self-signed X.509 certificate for a TLS server. Outputs to 31 host = flag.String("host", "", "Comma-separated hostnames and IPs to generate a certificate for") 33 validFor = flag.Duration("duration", 365*24*time.Hour, "Duration that certificate is valid for") 34 isCA = flag.Bool("ca", false, "whether this cert should be its own Certificate Authority") 113 template := x509.Certificate{ 142 log.Fatalf("Failed to create certificate: %s", err) 149 pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes})
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
generate_cert.go | 7 // Generate a self-signed X.509 certificate for a TLS server. Outputs to 31 host = flag.String("host", "", "Comma-separated hostnames and IPs to generate a certificate for") 33 validFor = flag.Duration("duration", 365*24*time.Hour, "Duration that certificate is valid for") 34 isCA = flag.Bool("ca", false, "whether this cert should be its own Certificate Authority") 113 template := x509.Certificate{ 142 log.Fatalf("Failed to create certificate: %s", err) 149 pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes})
|
/prebuilts/tools/common/mkidentity/ |
mkidentity-prebuilt.jar | |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreTest.java | 35 import java.security.cert.Certificate; 142 * Test for <code>setKeyEntry(String alias, byte[] key, Certificate[] chain)</code> 155 Certificate certs[] = {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory2Test.java | 32 import java.security.cert.Certificate; 141 Certificate cert = certFactory.generateCertificate(dis);
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
SecureClassLoaderTest.java | 27 import java.security.cert.Certificate; 182 CodeSource cs = new CodeSource(url, (Certificate[]) null);
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
TestUtils.java | 34 import java.security.cert.Certificate; 55 // Certificate type used during testing 79 * constructed using self signed test certificate 117 * containing single element (self signed test certificate). 197 public void check(Certificate arg0, Collection arg1) 289 // X.509 encoded certificate 290 private static final String ENCODED_X509_CERTIFICATE = "-----BEGIN CERTIFICATE-----\n" 305 + "JDSM\n" + "-----END CERTIFICATE-----\n"; 318 * Returns X.509 certificate encoding corresponding to version v1. 320 * Certificate encoding was created by hands according to X.509 Certificat [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509V3CertificateGenerator.java | 29 import org.bouncycastle.asn1.x509.Certificate; 41 * class to produce an X.509 Version 3 certificate. 68 * set the serial number for the certificate. 83 * certificate. 100 * certificate. 270 * copying the extension value from another certificate. 300 * copying the extension value from another certificate. 313 * generate an X509 certificate, based on the current issuer and subject 332 * generate an X509 certificate, based on the current issuer and subject 353 * generate an X509 certificate, based on the current issuer and subject [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/ |
rfc2315.py | 102 namedtype.NamedType('certificate', Certificate()), 119 namedtype.NamedType('certificate', Certificate()),
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLX509CRL.java | 32 import java.security.cert.Certificate; 287 public X509CRLEntry getRevokedCertificate(X509Certificate certificate) { 288 if (certificate instanceof OpenSSLX509Certificate) { 289 OpenSSLX509Certificate osslCert = (OpenSSLX509Certificate) certificate; 300 return getRevokedCertificate(certificate.getSerialNumber()); 349 public boolean isRevoked(Certificate cert) { 362 throw new RuntimeException("cannot convert certificate", e);
|
/external/emma/core/java12/com/vladium/emma/rt/ |
InstrClassLoader.java | 19 import java.security.cert.Certificate; 347 final CodeSource csrc = new CodeSource (srcURL, (Certificate[])null);
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/ |
SslUtil.java | 46 import java.security.cert.Certificate; 89 * Generates a new, self-signed X509 V1 certificate for a KeyPair. 93 * @return the new certificate 94 * @throws GeneralSecurityException on error generating the certificate 126 * Generates a new, self-signed X509 V3 certificate for a KeyPair. 133 * @return the new certificate 134 * @throws GeneralSecurityException on error generating the certificate 153 // about certificate and extension content. Quoting the `man verify`: 156 // the issuer name of the current certificate are subject to further 158 // certificate (if present) must match the subject key identifier (i [all...] |
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
NetworkSecurityConfigTests.java | 28 import java.security.cert.Certificate; 89 Certificate cert = factory.generateCertificate(new ByteArrayInputStream(TEST_CA_BYTES)); 278 preNCerts.add(anchor.certificate); 282 nCerts.add(anchor.certificate);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreTest.java | 36 import java.security.cert.Certificate; 142 * Test for <code>setKeyEntry(String alias, byte[] key, Certificate[] chain)</code> 155 Certificate certs[] = {
|
/libcore/luni/src/test/java/tests/java/security/ |
SecureClassLoaderTest.java | 37 import java.security.cert.Certificate; 183 CodeSource cs = new CodeSource(url, (Certificate[]) null);
|