Home
last modified time | relevance | path

Searched refs:decodeCert (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/security/keystore/recovery/
DX509CertificateParsingUtils.java39 return decodeCert(decodeBase64(string)); in decodeBase64Cert()
61 private static X509Certificate decodeCert(byte[] certBytes) throws CertificateException { in decodeCert() method in X509CertificateParsingUtils
62 return decodeCert(new ByteArrayInputStream(certBytes)); in decodeCert()
72 private static X509Certificate decodeCert(InputStream inStream) throws CertificateException { in decodeCert() method in X509CertificateParsingUtils
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtilsTest.java79 X509Certificate cert = CertUtils.decodeCert(f); in decodeCert_readPemFile_succeeds_singleBlock()
86 X509Certificate cert = CertUtils.decodeCert(in); in decodeCert_readPemFile_succeeds_multipleBlocks()
93 assertThrows(CertParsingException.class, () -> CertUtils.decodeCert(in)); in decodeCert_readPemFile_throwsIfNoBeginEndLines()
99 assertThrows(CertParsingException.class, () -> CertUtils.decodeCert(in)); in decodeCert_readPemFile_throwsIfEmptyBlock()
105 assertThrows(CertParsingException.class, () -> CertUtils.decodeCert(in)); in decodeCert_readPemFile_throwsIfInvalidCert()
110 X509Certificate cert = CertUtils.decodeCert(TestData.INTERMEDIATE_CA_2.getEncoded()); in decodeCert_readBytes_succeeds()
119 assertThrows(CertParsingException.class, () -> CertUtils.decodeCert(modifiedCertBytes)); in decodeCert_readBytes_throwsIfInvalidCert()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DSigXml.java97 res.add(CertUtils.decodeCert(CertUtils.decodeBase64(content))); in parseIntermediateCerts()
106 return CertUtils.decodeCert(CertUtils.decodeBase64(contents.get(0))); in parseSignerCert()
DCertXml.java136 res.add(CertUtils.decodeCert(CertUtils.decodeBase64(content))); in parseIntermediateCerts()
151 res.add(CertUtils.decodeCert(CertUtils.decodeBase64(content))); in parseEndpointCerts()
DCertUtils.java89 static X509Certificate decodeCert(byte[] certBytes) throws CertParsingException { in decodeCert() method in CertUtils
90 return decodeCert(new ByteArrayInputStream(certBytes)); in decodeCert()
100 static X509Certificate decodeCert(InputStream inStream) throws CertParsingException { in decodeCert() method in CertUtils
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt47712 Landroid/security/keystore/recovery/X509CertificateParsingUtils;->decodeCert(Ljava/io/InputStream;)…
47713 Landroid/security/keystore/recovery/X509CertificateParsingUtils;->decodeCert([B)Ljava/security/cert…