Home
last modified time | relevance | path

Searched refs:x509 (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/libs/binder/tests/
DRpcTlsTestUtils.cpp45 bssl::UniquePtr<X509> x509(X509_new()); in makeSelfSignedCert() local
50 TEST_AND_RETURN(nullptr, BN_to_ASN1_INTEGER(serial.get(), X509_get_serialNumber(x509.get()))); in makeSelfSignedCert()
51 TEST_AND_RETURN(nullptr, X509_gmtime_adj(X509_getm_notBefore(x509.get()), 0)); in makeSelfSignedCert()
52 TEST_AND_RETURN(nullptr, X509_gmtime_adj(X509_getm_notAfter(x509.get()), validSeconds)); in makeSelfSignedCert()
54 X509_NAME* subject = X509_get_subject_name(x509.get()); in makeSelfSignedCert()
63 TEST_AND_RETURN(nullptr, X509_set_issuer_name(x509.get(), subject)); in makeSelfSignedCert()
65 TEST_AND_RETURN(nullptr, X509_set_pubkey(x509.get(), pkey)); in makeSelfSignedCert()
66 TEST_AND_RETURN(nullptr, X509_sign(x509.get(), pkey, EVP_sha256())); in makeSelfSignedCert()
67 return x509; in makeSelfSignedCert()
108 bssl::UniquePtr<X509> x509 = deserializeCertificate(cert, format); in addTrustedPeerCertificate() local
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/assets/PackageSignaturesTest/xml/
DREADME9 --cert certs/ec-p256.x509.der --key certs/ec-p256.pk8
46 --cert certs/ec-p256.x509.der --key certs/ec-p256.pk8 --next-signer --cert \
47 certs/ec-p256_2.x509.der --key certs/ec-p256_2.pk8 --lineage certs/ec-p256-lineage-2-signers
51 --cert certs/ec-p256.x509.der --key certs/ec-p256.pk8 --next-signer --cert \
52 certs/ec-p256_3.x509.der --key certs/ec-p256_3.pk8 --lineage certs/ec-p256-lineage-3-signers
57 --cert certs/ec-p256.x509.der --key certs/ec-p256.pk8 --next-signer --cert \
58 certs/ec-p256_3.x509.der --key certs/ec-p256_3.pk8 --v3-signing-enabled false
/frameworks/base/core/tests/coretests/certs/
DREADME6 openssl x509 -in unit_test.x509.pem -out unit_test.der -outform der
/frameworks/native/libs/binder/
DRpcTlsUtils.cpp79 std::vector<uint8_t> serializeCertificate(X509* x509, RpcCertificateFormat format) { in serializeCertificate() argument
82 return serialize(x509, PEM_write_bio_X509); in serializeCertificate()
84 return serialize(x509, i2d_X509_bio); in serializeCertificate()
DRpcTransportTls.cpp468 X509* x509 = SSL_CTX_get0_certificate(mCtx.get()); // does not own in getCertificate() local
469 return serializeCertificate(x509, format); in getCertificate()
/frameworks/base/core/java/org/apache/http/conn/ssl/
DAbstractVerifier.java102 X509Certificate x509 = (X509Certificate) certs[0]; in verify() local
103 verify(host, x509); in verify()
109 X509Certificate x509 = (X509Certificate) certs[0]; in verify() local
110 verify(host, x509); in verify()
/frameworks/base/core/tests/coretests/src/com/android/internal/security/
DContentSignerWrapper.java19 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
DVerityUtilsTest.java36 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
37 import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo;
/frameworks/native/libs/binder/include_tls/binder/
DRpcTlsUtils.h33 std::vector<uint8_t> serializeCertificate(X509* x509, RpcCertificateFormat format);
/frameworks/native/libs/binder/tests/rpc_fuzzer/
Dcreate_certs.sh14 openssl x509 -req -sha256 -days 99999 -in server.csr -signkey server.key -out server.crt
/frameworks/base/mime/java-res/
Dandroid.mime.types76 ?application/x-x509-server-cert crt
77 ?application/x-x509-user-cert crt
149 application/x-x509-ca-cert crt der
/frameworks/base/services/core/java/com/android/server/security/
DAttestationVerificationSelfTrustedVerifierForTesting.java36 import com.android.internal.org.bouncycastle.asn1.x509.Certificate;
DAndroidKeystoreAttestationVerificationAttributes.java33 import com.android.internal.org.bouncycastle.asn1.x509.Certificate;
/frameworks/base/config/
Ddirty-image-objects833 Lsun/security/x509/PKIXExtensions;.KeyUsage_Id:Lsun/security/util/ObjectIdentifier; 201
834 Lsun/security/x509/PKIXExtensions;.PolicyConstraints_Id:Lsun/security/util/ObjectIdentifier; 201
836 Lsun/security/x509/PKIXExtensions;.ExtendedKeyUsage_Id:Lsun/security/util/ObjectIdentifier; 201
838 Lsun/security/x509/PKIXExtensions;.CertificatePolicies_Id:Lsun/security/util/ObjectIdentifier; 201
839 Lsun/security/x509/PKIXExtensions;.NameConstraints_Id:Lsun/security/util/ObjectIdentifier; 201
840 Lsun/security/x509/PKIXExtensions;.AuthorityKey_Id:Lsun/security/util/ObjectIdentifier; 201
843 Lsun/security/x509/PKIXExtensions;.SubjectAlternativeName_Id:Lsun/security/util/ObjectIdentifier; 2…
844 Lsun/security/x509/PKIXExtensions;.PolicyMappings_Id:Lsun/security/util/ObjectIdentifier; 202
845 Lsun/security/x509/PKIXExtensions;.InhibitAnyPolicy_Id:Lsun/security/util/ObjectIdentifier; 202
846 Lsun/security/x509/PKIXExtensions;.BasicConstraints_Id:Lsun/security/util/ObjectIdentifier; 202
[all …]
Dpreloaded-classes13594 com.android.org.bouncycastle.asn1.x509.AlgorithmIdentifier
13595 com.android.org.bouncycastle.asn1.x509.Certificate
13596 com.android.org.bouncycastle.asn1.x509.DSAParameter
13597 com.android.org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
13598 com.android.org.bouncycastle.asn1.x509.Time
13599 com.android.org.bouncycastle.asn1.x509.X509Name
13600 com.android.org.bouncycastle.asn1.x509.X509ObjectIdentifiers
13677 com.android.org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory
13678 com.android.org.bouncycastle.jcajce.provider.asymmetric.x509.PEMUtil$Boundaries
13679 com.android.org.bouncycastle.jcajce.provider.asymmetric.x509.PEMUtil
[all …]
Dboot-image-profile.txt23140 …droid/org/bouncycastle/asn1/x509/AlgorithmIdentifier;->getInstance(Ljava/lang/Object;)Lcom/android…
23141 HSPLcom/android/org/bouncycastle/asn1/x509/AlgorithmIdentifier;->toASN1Primitive()Lcom/android/org/…
23142 …roid/org/bouncycastle/asn1/x509/SubjectPublicKeyInfo;->getInstance(Ljava/lang/Object;)Lcom/android…
30644 HSPLjavax/security/auth/x500/X500Principal;-><init>(Lsun/security/x509/X500Name;)V
31874 HSPLsun/security/pkcs/PKCS7;->getCertificate(Ljava/math/BigInteger;Lsun/security/x509/X500Name;)Lja…
31887 HSPLsun/security/pkcs/SignerInfo;->getDigestAlgorithmId()Lsun/security/x509/AlgorithmId;
31888 HSPLsun/security/pkcs/SignerInfo;->getDigestEncryptionAlgorithmId()Lsun/security/x509/AlgorithmId;
31895 …provider/X509Factory;->intern(Ljava/security/cert/X509Certificate;)Lsun/security/x509/X509CertImpl;
31899 …/certpath/AdaptableX509CertSelector;->setSkiAndSerialNumber(Lsun/security/x509/AuthorityKeyIdentif…
31902 …ovider/certpath/AlgorithmChecker;->check(Ljava/security/PublicKey;Lsun/security/x509/AlgorithmId;)V
[all …]
/frameworks/base/core/java/android/net/http/
DSslCertificate.java29 import com.android.internal.org.bouncycastle.asn1.x509.X509Name;
/frameworks/base/services/tests/VpnTests/java/android/net/
DIkev2VpnProfileTest.java37 import com.android.internal.org.bouncycastle.x509.X509V1CertificateGenerator;