Searched refs:encodedForm (Results 1 – 4 of 4) sorted by relevance
71 byte[] encodedForm; in generateCertificate()73 encodedForm = ByteStreams.toByteArray(in); in generateCertificate()77 return generateCertificate(encodedForm); in generateCertificate()85 public static X509Certificate generateCertificate(byte[] encodedForm) in generateCertificate() argument90 return generateCertificate(encodedForm, sCertFactory); in generateCertificate()99 public static X509Certificate generateCertificate(byte[] encodedForm, in generateCertificate() argument104 new ByteArrayInputStream(encodedForm)); in generateCertificate()124 ByteBuffer.wrap(encodedForm)); in generateCertificate()
33 public GuaranteedEncodedFormX509Certificate(X509Certificate wrapped, byte[] encodedForm) { in GuaranteedEncodedFormX509Certificate() argument35 this.mEncodedForm = (encodedForm != null) ? encodedForm.clone() : null; in GuaranteedEncodedFormX509Certificate()
165 byte[] encodedForm = Resources.toByteArray(X509CertificateUtilsTest.class, resourceName); in getHexEncodedDigestOfCertFromResources()166 X509Certificate cert = X509CertificateUtils.generateCertificate(encodedForm); in getHexEncodedDigestOfCertFromResources()
781 byte[] encodedForm = ByteBufferUtils.toByteArray(encodedCertificate.getEncoded()); in parseCertificates()783 certificate = X509CertificateUtils.generateCertificate(encodedForm); in parseCertificates()792 certificate = new GuaranteedEncodedFormX509Certificate(certificate, encodedForm); in parseCertificates()