Home
last modified time | relevance | path

Searched refs:encodedForm (Results 1 – 4 of 4) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/util/
DX509CertificateUtils.java71 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() argument
90 return generateCertificate(encodedForm, sCertFactory); in generateCertificate()
99 public static X509Certificate generateCertificate(byte[] encodedForm, in generateCertificate() argument
104 new ByteArrayInputStream(encodedForm)); in generateCertificate()
124 ByteBuffer.wrap(encodedForm)); in generateCertificate()
DGuaranteedEncodedFormX509Certificate.java33 public GuaranteedEncodedFormX509Certificate(X509Certificate wrapped, byte[] encodedForm) { in GuaranteedEncodedFormX509Certificate() argument
35 this.mEncodedForm = (encodedForm != null) ? encodedForm.clone() : null; in GuaranteedEncodedFormX509Certificate()
/tools/apksig/src/main/java/com/android/apksig/internal/x509/
DCertificate.java89 byte[] encodedForm = ByteBufferUtils.toByteArray(encodedCertificate.getEncoded()); in parseCertificates()
91 certificate = X509CertificateUtils.generateCertificate(encodedForm); in parseCertificates()
100 certificate = new GuaranteedEncodedFormX509Certificate(certificate, encodedForm); in parseCertificates()
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DX509CertificateUtilsTest.java165 byte[] encodedForm = Resources.toByteArray(X509CertificateUtilsTest.class, resourceName); in getHexEncodedDigestOfCertFromResources()
166 X509Certificate cert = X509CertificateUtils.generateCertificate(encodedForm); in getHexEncodedDigestOfCertFromResources()