Searched refs:certBytes (Results 1 – 3 of 3) sorted by relevance
61 private static X509Certificate decodeCert(byte[] certBytes) throws CertificateException { in decodeCert() argument62 return decodeCert(new ByteArrayInputStream(certBytes)); in decodeCert()
89 static X509Certificate decodeCert(byte[] certBytes) throws CertParsingException { in decodeCert() argument90 return decodeCert(new ByteArrayInputStream(certBytes)); in decodeCert()
337 byte[] certBytes = Base64.getDecoder().decode(cert.replaceAll("\\s+", "")); in certify_noBlankLineBeforeTrailer()339 when(keyMock.getEncodedCertChain()).thenReturn(certBytes); in certify_noBlankLineBeforeTrailer()