Searched refs:decodeCert (Results 1 – 6 of 6) sorted by relevance
39 return decodeCert(decodeBase64(string)); in decodeBase64Cert()61 private static X509Certificate decodeCert(byte[] certBytes) throws CertificateException { in decodeCert() method in X509CertificateParsingUtils62 return decodeCert(new ByteArrayInputStream(certBytes)); in decodeCert()72 private static X509Certificate decodeCert(InputStream inStream) throws CertificateException { in decodeCert() method in X509CertificateParsingUtils
79 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()
97 res.add(CertUtils.decodeCert(CertUtils.decodeBase64(content))); in parseIntermediateCerts()106 return CertUtils.decodeCert(CertUtils.decodeBase64(contents.get(0))); in parseSignerCert()
136 res.add(CertUtils.decodeCert(CertUtils.decodeBase64(content))); in parseIntermediateCerts()151 res.add(CertUtils.decodeCert(CertUtils.decodeBase64(content))); in parseEndpointCerts()
89 static X509Certificate decodeCert(byte[] certBytes) throws CertParsingException { in decodeCert() method in CertUtils90 return decodeCert(new ByteArrayInputStream(certBytes)); in decodeCert()100 static X509Certificate decodeCert(InputStream inStream) throws CertParsingException { in decodeCert() method in CertUtils
47712 Landroid/security/keystore/recovery/X509CertificateParsingUtils;->decodeCert(Ljava/io/InputStream;)…47713 Landroid/security/keystore/recovery/X509CertificateParsingUtils;->decodeCert([B)Ljava/security/cert…