Home
last modified time | relevance | path

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

/libcore/benchmarks/src/benchmarks/regression/
DSignatureBenchmark.java83 Signature signer = Signature.getInstance(signatureAlgorithm); in setUp() local
84 signer.initSign(keyPair.getPrivate()); in setUp()
85 signer.update(DATA); in setUp()
86 this.signature = signer.sign(); in setUp()
93 Signature signer; in timeSign() local
96 signer = Signature.getInstance(signatureAlgorithm, "AndroidOpenSSL"); in timeSign()
99 signer = Signature.getInstance(signatureAlgorithm, "BC"); in timeSign()
104 signer.initSign(privateKey); in timeSign()
105 signer.update(DATA); in timeSign()
106 signer.sign(); in timeSign()
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java217 .signer(ROOT_CA.getPrivateKey("RSA", "RSA")) in initCerts()
225 .signer(ROOT_CA.getPrivateKey("RSA", "RSA")) in initCerts()
231 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts()
241 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts()
248 .signer(INTERMEDIATE_CA_EC.getPrivateKey("EC", "RSA")) in initCerts()
254 .signer(INTERMEDIATE_CA.getPrivateKey("RSA", "RSA")) in initCerts()
266 .signer(rootCa2.getPrivateKey("RSA", "RSA")) in initCerts()
364 private PrivateKeyEntry signer; field in TestKeyStore.Builder
427 public Builder signer(PrivateKeyEntry signer) { in signer() argument
428 this.signer = signer; in signer()
[all …]
/libcore/ojluni/src/main/java/sun/security/util/
DSignatureFileVerifier.java595 static boolean contains(CodeSigner[] set, CodeSigner signer) in contains() argument
598 if (set[i].equals(signer)) in contains()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java343 PublicKey signer = getRsaCertificatePublicKey(); in verify() local
345 c.verify(signer); in verify()
366 c.verify(signer, p.getName()); in verify()