Home
last modified time | relevance | path

Searched refs:initSign (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignatureTest.java159 s.initSign(new MyPrivateKey()); in testInitSignPrivateKey()
165 signature.initSign(null); in testInitSignPrivateKey()
193 s.initSign(new MyPrivateKey(), new SecureRandom()); in testInitSignPrivateKeySecureRandom()
199 sig.initSign(null, null); in testInitSignPrivateKeySecureRandom()
227 s.initSign(new MyPrivateKey()); in testSign()
253 s.initSign(new MyPrivateKey()); in testSignbyteintint()
259 s.initSign(new MyPrivateKey()); in testSignbyteintint()
267 s.initSign(new MyPrivateKey()); in testSignbyteintint()
289 s.initSign(new MyPrivateKey()); in testVerifybyteArray()
314 s.initSign(new MyPrivateKey()); in testVerifybyteArrayintint()
[all …]
DSignature2Test.java232 Signature.getInstance("DSA").initSign(getDsaKeys().getPrivate()); in test_initSignLjava_security_PrivateKey()
235 Signature.getInstance("DSA").initSign(getRsaKeys().getPrivate()); in test_initSignLjava_security_PrivateKey()
244 sig.initSign(getDsaKeys().getPrivate(), new SecureRandom()); in test_initSignLjava_security_PrivateKeyLjava_security_SecureRandom()
251 sig.initSign(getRsaKeys().getPrivate(), new SecureRandom()); in test_initSignLjava_security_PrivateKeyLjava_security_SecureRandom_mismatch()
338 sig.initSign(getDsaKeys().getPrivate()); in test_sign()
356 sig.initSign(getDsaKeys().getPrivate()); in test_update$B()
382 sig.initSign(getDsaKeys().getPrivate()); in test_update$BII()
407 sig.initSign(getDsaKeys().getPrivate()); in test_updateB()
426 sig.initSign(getDsaKeys().getPrivate()); in test_updateLjava_nio_ByteBuffer()
443 sig.initSign(getDsaKeys().getPrivate()); in test_verify$B()
[all …]
DSignatureSpiTest.java316 signature.initSign(null, null); in testEngineInitSign_PrivateKey_SecureRandom()
342 signature.initSign(new PrivateKey() { in testEngineSign_BII()
372 signature.initSign(new PrivateKey() { in testEngineUpdate_ByteBuffer()
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java73 s.initSign(new MockPrivateKey()); in testSignature_getInstance_SuppliedProviderNotRegistered_Success()
90 s.initSign(new MockPrivateKey()); in testSignature_getInstance_DoesNotSupportKeyClass_Success()
115 s.initSign(new MockPrivateKey()); in testSignature_init_DoesNotSupportKeyClass_throwsInvalidKeyException()
178 s.initSign(new MockPrivateKey()); in testSignature_getInstance_DelayedInitialization_KeyType()
182 s.initSign(new MockPrivateKey2()); in testSignature_getInstance_DelayedInitialization_KeyType()
196 s.initSign(new PrivateKey() { in testSignature_getInstance_DelayedInitialization_KeyType()
/libcore/benchmarks/src/benchmarks/regression/
DSignatureBenchmark.java84 signer.initSign(keyPair.getPrivate()); in setUp()
104 signer.initSign(privateKey); in timeSign()
/libcore/ojluni/annotations/mmodule/java/security/
DSignature.annotated.java53 public final void initSign(java.security.PrivateKey privateKey) throws java.security.InvalidKeyExce… in initSign() method in Signature
55 public final void initSign(java.security.PrivateKey privateKey, java.security.SecureRandom random) … in initSign() method in Signature
/libcore/ojluni/src/main/java/java/security/
DSignedObject.java241 signingEngine.initSign(signingKey); in sign()
DSignature.java677 public final void initSign(PrivateKey privateKey) in initSign() method in Signature
704 public final void initSign(PrivateKey privateKey, SecureRandom random) in initSign() method in Signature
/libcore/ojluni/annotations/hiddenapi/java/security/
DSignature.java88 public final void initSign(java.security.PrivateKey privateKey) in initSign() method in Signature
93 public final void initSign( in initSign() method in Signature
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CRLImpl.java508 sigEngine.initSign(key); in sign()
DX509CertImpl.java578 sigEngine.initSign(key); in sign()