Home
last modified time | relevance | path

Searched refs:generateCertificate (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/net/http/
DSslCertificateTest.java49 X509Certificate x509Certificate = generateCertificate(Issue1597Certificate); in testSslCertificateWithEmptyIssuer()
102 X509Certificate x509Certificate = generateCertificate(Issue41662Certificate); in testSslCertificateWithMultipleCN()
110 private static X509Certificate generateCertificate(String pem) throws Exception { in generateCertificate() method in SslCertificateTest
112 return (X509Certificate) cf.generateCertificate(new ByteArrayInputStream(pem.getBytes())); in generateCertificate()
/frameworks/base/tests/AttestationVerificationTest/src/com/android/server/security/
DAndroidKeystoreAttestationVerificationAttributesTest.java66 generateCertificate(TEST_PHYSCIAL_DEVICE_CERTS)); in setUp()
79 certsNoAttestation.add(generateCertificate(TEST_CERT_NO_ATTESTATION_EXTENSION)); in parseCertificate_noAttestationExtension()
280 private X509Certificate generateCertificate(String certificateString) in generateCertificate() method in AndroidKeystoreAttestationVerificationAttributesTest
/frameworks/base/core/java/android/security/keystore/recovery/
DX509CertificateParsingUtils.java80 return (X509Certificate) certFactory.generateCertificate(inStream); in decodeCert()
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
DCertUtils.java47 return (X509Certificate) certFactory.generateCertificate(in); in certificateFromByteArray()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DTestData.java289 return (X509Certificate) cf.generateCertificate(new ByteArrayInputStream(bytes)); in decodeBase64Cert()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DImsiEncryptionInfoTest.java80 return cf.generateCertificate(istream).getPublicKey(); in createPublicKey()
/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/
DEapSessionConfigUtilsTest.java103 (X509Certificate) factory.generateCertificate(inputStream); in testSetEapTtlsEncodeDecodeIsLossless()
DIkeSessionParamsUtilsTest.java177 return (X509Certificate) factory.generateCertificate(openAssetsFile(fileName)); in createCertFromPemFile()
/frameworks/base/core/java/android/content/pm/
DSignature.java228 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey()
402 final X509Certificate cert = (X509Certificate) cf.generateCertificate(is); in bounce()
DApkChecksum.java115 final X509Certificate cert = (X509Certificate) cf.generateCertificate(is); in getInstallerCertificate()
/frameworks/base/keystore/java/android/security/
DCredentials.java199 Certificate c = cf.generateCertificate( in convertFromPem()
/frameworks/base/core/java/android/security/net/config/
DDirectoryCertificateSource.java228 return (X509Certificate) mCertFactory.generateCertificate(is);
/frameworks/base/services/core/java/com/android/server/security/
DAttestationVerificationSelfTrustedVerifierForTesting.java142 certificates.add((X509Certificate) mCertificateFactory.generateCertificate(bis)); in verifyAttestation()
DAttestationVerificationPeerDeviceVerifier.java258 certificates.add((X509Certificate) mCertificateFactory.generateCertificate(bis)); in getCertificates()
319 new TrustAnchor((X509Certificate) mCertificateFactory.generateCertificate( in getTrustAnchors()
DFileIntegrityService.java296 Certificate certificate = sCertFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate()
/frameworks/base/core/java/com/android/internal/security/
DVerityUtils.java157 .generateCertificate(derCertInputStream); in verifyPkcs7DetachedSignature()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV4Verifier.java232 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
DApkSignatureSchemeV2Verifier.java346 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
DApkSignatureSchemeV3Verifier.java405 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
DSourceStampVerifier.java251 certFactory.generateCertificate( in verifySourceStampCertificate()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java152 return (X509Certificate) cf.generateCertificate(istream); in createCertificate()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java232 return (X509Certificate) certFactory.generateCertificate(new ByteArrayInputStream( in parseCert()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java109 return (X509Certificate) certFactory.generateCertificate(inStream); in decodeCert()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java84 Certificate cert = factory.generateCertificate(new ByteArrayInputStream(TEST_CA_BYTES));
/frameworks/base/core/java/android/net/http/
DSslCertificate.java134 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in restoreState()

12