/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | Signature2Test.java | 188 Signature sig = Signature.getInstance("DSA"); in test_getParameters() local 190 sig.getParameters(); in test_getParameters() 211 Signature sig = Signature.getInstance("DSA"); in test_getParameterLjava_lang_String() local 214 sig.getParameter("r"); in test_getParameterLjava_lang_String() 215 sig.getParameter("s"); in test_getParameterLjava_lang_String() 243 Signature sig = Signature.getInstance("DSA"); in test_initSignLjava_security_PrivateKeyLjava_security_SecureRandom() local 244 sig.initSign(getDsaKeys().getPrivate(), new SecureRandom()); in test_initSignLjava_security_PrivateKeyLjava_security_SecureRandom() 250 Signature sig = Signature.getInstance("DSA"); in test_initSignLjava_security_PrivateKeyLjava_security_SecureRandom_mismatch() local 251 sig.initSign(getRsaKeys().getPrivate(), new SecureRandom()); in test_initSignLjava_security_PrivateKeyLjava_security_SecureRandom_mismatch() 303 Signature sig = Signature.getInstance("DSA"); in test_setParameterLjava_lang_StringLjava_lang_Object() local [all …]
|
D | SignatureTest.java | 123 Signature sig = getTestSignature(); in testInitVerifyPublicKey() local 124 sig.initVerify((PublicKey)null); in testInitVerifyPublicKey() 143 Signature sig = getTestSignature(); in testInitVerifyCertificate() local 144 sig.initVerify(new MyCertificate()); in testInitVerifyCertificate() 198 Signature sig = getTestSignature(); in testInitSignPrivateKeySecureRandom() local 199 sig.initSign(null, null); in testInitSignPrivateKeySecureRandom() 355 Signature sig = getTestSignature(); in testUpdatebyte() local 356 sig.update((byte) 42); in testUpdatebyte() 384 Signature sig = getTestSignature(); in testUpdatebyteArray() local 385 sig.update(b); in testUpdatebyteArray() [all …]
|
D | SignedObjectTest.java | 51 Signature sig = Signature.getInstance("SHA1withDSA"); in testSignedObject() local 62 SignedObject so = new SignedObject(prop, tkp.getPrivate(), sig); in testSignedObject() 67 assertTrue("verify() failed", so.verify(tkp.getPublic(), sig)); in testSignedObject()
|
/libcore/ojluni/src/main/java/java/security/ |
D | SignatureSpi.java | 227 byte[] sig = engineSign(); in engineSign() 228 if (len < sig.length) { in engineSign() 232 if (outbuf.length - offset < sig.length) { in engineSign() 237 System.arraycopy(sig, 0, outbuf, offset, sig.length); in engineSign() 238 return sig.length; in engineSign()
|
D | Signature.java | 389 Signature sig; in getInstance() local 391 sig = (Signature)instance.impl; in getInstance() 392 sig.algorithm = algorithm; in getInstance() 395 sig = new Delegate(spi, algorithm); in getInstance() 397 sig.provider = instance.provider; in getInstance() 398 return sig; in getInstance()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipInputStream.java | 376 long sig = get32(tmpbuf, 0); in readEnd() local 377 if (sig != EXTSIG) { // no EXTSIG present in readEnd() 378 e.crc = sig; in readEnd() 390 long sig = get32(tmpbuf, 0); in readEnd() local 391 if (sig != EXTSIG) { // no EXTSIG present in readEnd() 392 e.crc = sig; in readEnd()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateTest.java | 350 final Signature sig = Signature.getInstance("SHA1WithRSA"); in testVerifyPublicKeyString2() local 351 sig.initVerify(cert.getPublicKey()); in testVerifyPublicKeyString2() 352 final Provider provider = sig.getProvider(); in testVerifyPublicKeyString2() 402 final Signature sig = Signature.getInstance("SHA1WithRSA"); in testVerifyPublicKeyProvider2() local 403 sig.initVerify(cert.getPublicKey()); in testVerifyPublicKeyProvider2() 404 final Provider provider = sig.getProvider(); in testVerifyPublicKeyProvider2()
|
/libcore/ojluni/src/main/native/ |
D | jni_util.h | 227 const char *sig); 233 const char *sig, 241 const char *sig); 247 const char *sig,
|
D | NativeThread.c | 66 nullHandler(int sig) in nullHandler() argument
|
D | jvm.h | 581 JVM_RegisterSignal(jint sig, void *handler); 584 JVM_RaiseSignal(jint sig);
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | SignatureTest.java | 448 Signature sig = Signature.getInstance("SHA1withRSA"); in testSignatureDelegateOverridesAllMethods() local 454 Class<?> sigClass = sig.getClass(); in testSignatureDelegateOverridesAllMethods() 482 Signature sig = Signature.getInstance(service.getAlgorithm(), provider); in testGetParameters_IsCalled() local 483 sig.getParameters(); in testGetParameters_IsCalled()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | SignerInfo.java | 488 Signature sig = Signature.getInstance(algname); in verify() local 489 sig.initVerify(key); in verify() 495 sig.update(buffer, 0 , read); in verify() 498 if (sig.verify(encryptedDigest)) { in verify()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1786 MemberSignature sig = fieldSigs[i]; in computeDefaultSUID() local 1787 int mods = sig.member.getModifiers() & in computeDefaultSUID() 1794 dout.writeUTF(sig.name); in computeDefaultSUID() 1796 dout.writeUTF(sig.signature); in computeDefaultSUID() 1837 MemberSignature sig = consSigs[i]; in computeDefaultSUID() local 1838 int mods = sig.member.getModifiers() & in computeDefaultSUID() 1846 dout.writeUTF(sig.signature.replace('/', '.')); in computeDefaultSUID() 1864 MemberSignature sig = methSigs[i]; in computeDefaultSUID() local 1865 int mods = sig.member.getModifiers() & in computeDefaultSUID() 1871 dout.writeUTF(sig.name); in computeDefaultSUID() [all …]
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 3514 int sig = (int)(adjusted % 3); local 3515 if (sig < 0) 3516 sig += 3; // [adjusted was negative] 3517 adjusted -= sig; // now a multiple of 3 3518 sig++; 3520 switch (sig) { 3533 throw new AssertionError("Unexpected sig value " + sig); 3535 } else if (sig >= coeffLen) { // significand all in integer 3538 for (int i = sig - coeffLen; i > 0; i--) 3541 buf.append(coeff, offset, sig); [all …]
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 1827 static void Linux_kill(JNIEnv* env, jobject, jint pid, jint sig) { in Linux_kill() argument 1828 throwIfMinusOne(env, "kill", TEMP_FAILURE_RETRY(kill(pid, sig))); in Linux_kill()
|