Home
last modified time | relevance | path

Searched refs:encodeAsLengthPrefixedElement (Results 1 – 5 of 5) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeSigner.java19 import static com.android.apksig.internal.apk.ApkSigningBlockUtils.encodeAsLengthPrefixedElement;
316 byte[] signedData = encodeAsLengthPrefixedElement(signer.signedData); in encodeSigner()
318 encodeAsLengthPrefixedElement( in encodeSigner()
321 byte[] publicKey = encodeAsLengthPrefixedElement(signer.publicKey); in encodeSigner()
346 encodeAsLengthPrefixedElement( in encodeSignedData()
350 encodeAsLengthPrefixedElement( in encodeSignedData()
352 byte[] attributes = encodeAsLengthPrefixedElement(signedData.additionalAttributes); in encodeSignedData()
DV3SigningCertificateLineage.java19 import static com.android.apksig.internal.apk.ApkSigningBlockUtils.encodeAsLengthPrefixedElement;
216 byte[] prefixedSignature = encodeAsLengthPrefixedElement(node.signature); in encodeSigningCertificateNode()
229 byte[] prefixedCertificate = encodeAsLengthPrefixedElement(certificate.getEncoded()); in encodeSignedData()
235 return encodeAsLengthPrefixedElement(result.array()); in encodeSignedData()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DV1SourceStampSigner.java19 import static com.android.apksig.internal.apk.ApkSigningBlockUtils.encodeAsLengthPrefixedElement;
101 return Pair.of(encodeAsLengthPrefixedElement(sourceStampSignerBlock), in generateSourceStampBlock()
DV2SourceStampSigner.java22 import static com.android.apksig.internal.apk.ApkSigningBlockUtils.encodeAsLengthPrefixedElement;
133 return Pair.of(encodeAsLengthPrefixedElement(sourceStampSignerBlock), in generateSourceStampBlock()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java749 public static byte[] encodeAsLengthPrefixedElement(byte[] bytes) { in encodeAsLengthPrefixedElement() method in ApkSigningBlockUtils