Searched refs:publicKey (Results 1 – 10 of 10) sorted by relevance
179 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignerBlock() local181 byte[] encodedPublicKey = encodePublicKey(publicKey); in generateSignerBlock()214 signer.publicKey = encodedPublicKey; in generateSignerBlock()228 byte[] publicKey = encodeAsLengthPrefixedElement(signer.publicKey); in encodeSigner()243 + publicKey.length; in encodeSigner()251 result.put(publicKey); in encodeSigner()312 public byte[] publicKey; field in V3SchemeSigner.V3SignatureSchemeBlock.Signer
128 PublicKey publicKey = lastCert.getPublicKey(); in readSigningCertificateLineage() local130 sig.initVerify(publicKey); in readSigningCertificateLineage()
351 PublicKey publicKey; in parseSigner() local353 publicKey = in parseSigner()362 sig.initVerify(publicKey); in parseSigner()
194 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignerBlock() local196 byte[] encodedPublicKey = encodePublicKey(publicKey); in generateSignerBlock()238 signer.publicKey = encodedPublicKey; in generateSignerBlock()254 signer.publicKey, in generateSignerBlock()283 public byte[] publicKey; field in V2SchemeSigner.V2SignatureSchemeBlock.Signer
303 PublicKey publicKey; in parseSigner() local305 publicKey = in parseSigner()314 sig.initVerify(publicKey); in parseSigner()
305 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in signManifest() local308 + publicKey.getAlgorithm().toUpperCase(Locale.US); in signManifest()324 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in getOutputEntryNames() local327 + publicKey.getAlgorithm().toUpperCase(Locale.US); in getOutputEntryNames()505 PublicKey publicKey = signingCert.getPublicKey(); in generateSignatureBlock() local508 getSignerInfoSignatureAlgorithm(publicKey, digestAlgorithm); in generateSignatureBlock()527 signature.initVerify(publicKey); in generateSignatureBlock()614 PublicKey publicKey, DigestAlgorithm digestAlgorithm) throws InvalidKeyException { in getSignerInfoSignatureAlgorithm() argument615 String keyAlgorithm = publicKey.getAlgorithm(); in getSignerInfoSignatureAlgorithm()
537 public static byte[] encodePublicKey(PublicKey publicKey) in encodePublicKey() argument540 if ("X.509".equals(publicKey.getFormat())) { in encodePublicKey()541 encodedPublicKey = publicKey.getEncoded(); in encodePublicKey()546 KeyFactory.getInstance(publicKey.getAlgorithm()) in encodePublicKey()547 .getKeySpec(publicKey, X509EncodedKeySpec.class) in encodePublicKey()551 "Failed to obtain X.509 encoded form of public key " + publicKey in encodePublicKey()552 + " of class " + publicKey.getClass().getName(), in encodePublicKey()558 "Failed to obtain X.509 encoded form of public key " + publicKey in encodePublicKey()559 + " of class " + publicKey.getClass().getName()); in encodePublicKey()901 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignaturesOverData() local[all …]
478 PublicKey publicKey = signerCert.getPublicKey(); in verify() local481 + publicKey.getAlgorithm()); in verify()483 if (publicKey instanceof RSAKey) { in verify()484 keySize = ((RSAKey) publicKey).getModulus().bitLength(); in verify()485 } else if (publicKey instanceof ECKey) { in verify()486 keySize = ((ECKey) publicKey).getParams() in verify()488 } else if (publicKey instanceof DSAKey) { in verify()491 DSAParams dsaParams = ((DSAKey) publicKey).getParams(); in verify()500 byte[] encodedKey = publicKey.getEncoded(); in verify()
184 PublicKey publicKey = in testV1OneSignerSHA1withDSAAcceptedWithKeysTooLongForDigest() local188 s.initVerify(publicKey); in testV1OneSignerSHA1withDSAAcceptedWithKeysTooLongForDigest()218 PublicKey publicKey = in testV1OneSignerSHA224withDSAAcceptedWithKeysTooLongForDigest() local222 s.initVerify(publicKey); in testV1OneSignerSHA224withDSAAcceptedWithKeysTooLongForDigest()
279 PublicKey publicKey = parent.getCertificate().getPublicKey(); in getSignatureAlgorithm() local283 publicKey, mMinSdkVersion, false /* padding support */); in getSignatureAlgorithm()