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;
223 byte[] signedData = encodeAsLengthPrefixedElement(signer.signedData); in encodeSigner()
225 encodeAsLengthPrefixedElement( in encodeSigner()
228 byte[] publicKey = encodeAsLengthPrefixedElement(signer.publicKey); in encodeSigner()
253 encodeAsLengthPrefixedElement( in encodeSignedData()
257 encodeAsLengthPrefixedElement( in encodeSignedData()
259 byte[] attributes = encodeAsLengthPrefixedElement(signedData.additionalAttributes); in encodeSignedData()
DV3SigningCertificateLineage.java19 import static com.android.apksig.internal.apk.ApkSigningBlockUtils.encodeAsLengthPrefixedElement;
215 byte[] prefixedSignature = encodeAsLengthPrefixedElement(node.signature); in encodeSigningCertificateNode()
228 byte[] prefixedCertificate = encodeAsLengthPrefixedElement(certificate.getEncoded()); in encodeSignedData()
234 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;
102 encodeAsLengthPrefixedElement(sourceStampSignerBlock), V1_SOURCE_STAMP_BLOCK_ID); in generateSourceStampBlock()
DV2SourceStampSigner.java22 import static com.android.apksig.internal.apk.ApkSigningBlockUtils.encodeAsLengthPrefixedElement;
114 encodeAsLengthPrefixedElement(sourceStampSignerBlock), V2_SOURCE_STAMP_BLOCK_ID); in generateSourceStampBlock()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java922 public static byte[] encodeAsLengthPrefixedElement(byte[] bytes) { in encodeAsLengthPrefixedElement() method in ApkSigningBlockUtils