Searched refs:signedData (Results 1 – 9 of 9) sorted by relevance
183 V3SignatureSchemeBlock.SignedData signedData = new V3SignatureSchemeBlock.SignedData(); in generateSignerBlock() local185 signedData.certificates = encodeCertificates(signerConfig.certificates); in generateSignerBlock()203 signedData.digests = digests; in generateSignerBlock()204 signedData.minSdkVersion = signerConfig.minSdkVersion; in generateSignerBlock()205 signedData.maxSdkVersion = signerConfig.maxSdkVersion; in generateSignerBlock()206 signedData.additionalAttributes = generateAdditionalAttributes(signerConfig); in generateSignerBlock()210 signer.signedData = encodeSignedData(signedData); in generateSignerBlock()216 ApkSigningBlockUtils.generateSignaturesOverData(signerConfig, signer.signedData); in generateSignerBlock()223 byte[] signedData = encodeAsLengthPrefixedElement(signer.signedData); in encodeSigner()239 signedData.length in encodeSigner()[all …]
286 ByteBuffer signedData = getLengthPrefixedSlice(signerBlock); in parseSigner() local287 byte[] signedDataBytes = new byte[signedData.remaining()]; in parseSigner()288 signedData.get(signedDataBytes); in parseSigner()289 signedData.flip(); in parseSigner()290 result.signedData = signedDataBytes; in parseSigner()366 signedData.position(0); in parseSigner()367 sig.update(signedData); in parseSigner()383 signedData.position(0); in parseSigner()384 ByteBuffer digests = getLengthPrefixedSlice(signedData); in parseSigner()385 ByteBuffer certificates = getLengthPrefixedSlice(signedData); in parseSigner()[all …]
116 ByteBuffer signedData = getLengthPrefixedSlice(nodeBytes); in readSigningCertificateLineage() local134 sig.update(signedData); in readSigningCertificateLineage()142 signedData.rewind(); in readSigningCertificateLineage()143 byte[] encodedCert = readLengthPrefixedByteArray(signedData); in readSigningCertificateLineage()144 int signedSigAlgorithm = signedData.getInt(); in readSigningCertificateLineage()
198 V2SignatureSchemeBlock.SignedData signedData = new V2SignatureSchemeBlock.SignedData(); in generateSignerBlock() local200 signedData.certificates = encodeCertificates(signerConfig.certificates); in generateSignerBlock()218 signedData.digests = digests; in generateSignerBlock()219 signedData.additionalAttributes = generateAdditionalAttributes(v3SigningEnabled); in generateSignerBlock()232 signer.signedData = encodeAsSequenceOfLengthPrefixedElements(new byte[][] { in generateSignerBlock()233 encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes(signedData.digests), in generateSignerBlock()234 encodeAsSequenceOfLengthPrefixedElements(signedData.certificates), in generateSignerBlock()241 ApkSigningBlockUtils.generateSignaturesOverData(signerConfig, signer.signedData); in generateSignerBlock()251 signer.signedData, in generateSignerBlock()281 public byte[] signedData; field in V2SchemeSigner.V2SignatureSchemeBlock.Signer
248 ByteBuffer signedData = ApkSigningBlockUtils.getLengthPrefixedSlice(signerBlock); in parseSigner() local249 byte[] signedDataBytes = new byte[signedData.remaining()]; in parseSigner()250 signedData.get(signedDataBytes); in parseSigner()251 signedData.flip(); in parseSigner()252 result.signedData = signedDataBytes; in parseSigner()318 signedData.position(0); in parseSigner()319 sig.update(signedData); in parseSigner()335 signedData.position(0); in parseSigner()336 ByteBuffer digests = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in parseSigner()337 ByteBuffer certificates = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in parseSigner()[all …]
572 SignedData signedData = new SignedData(); in generateSignatureBlock() local573 signedData.certificates = new ArrayList<>(signerCerts.size()); in generateSignatureBlock()575 signedData.certificates.add(new Asn1OpaqueObject(cert.getEncoded())); in generateSignatureBlock()577 signedData.version = 1; in generateSignatureBlock()578 signedData.digestAlgorithms = Collections.singletonList(digestAlgorithmId); in generateSignatureBlock()579 signedData.encapContentInfo = new EncapsulatedContentInfo(Pkcs7Constants.OID_DATA); in generateSignatureBlock()580 signedData.signerInfos = Collections.singletonList(signerInfo); in generateSignatureBlock()584 contentInfo.content = new Asn1OpaqueObject(Asn1DerEncoder.encode(signedData)); in generateSignatureBlock()
461 SignedData signedData; in verifySigBlockAgainstSigFile() local469 signedData = in verifySigBlockAgainstSigFile()478 if (signedData.signerInfos.isEmpty()) { in verifySigBlockAgainstSigFile()493 Collections.singletonList(signedData.signerInfos.get(0)); in verifySigBlockAgainstSigFile()495 unverifiedSignerInfosToTry = signedData.signerInfos; in verifySigBlockAgainstSigFile()502 signedDataCertificates = parseCertificates(signedData.certificates); in verifySigBlockAgainstSigFile()515 signedData, in verifySigBlockAgainstSigFile()565 SignedData signedData, in verifySignerInfoAgainstSigFile() argument692 if (!contentType.equals(signedData.encapContentInfo.contentType)) { in verifySignerInfoAgainstSigFile()
240 byte[] signedData = signedDataBuffer.array(); in spawnDescendant()253 ApkSigningBlockUtils.generateSignaturesOverData(newSignerConfig, signedData); in spawnDescendant()
1025 public byte[] signedData; field in ApkSigningBlockUtils.Result.SignerInfo