Searched refs:sig (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | SignatureTest.java | 46 String sig = null; in testSignatureStringConstructorNull() local 49 Signature signature = new Signature(sig); in testSignatureStringConstructorNull() 72 byte[] sig = null; in testSignatureByteArrayConstructorNull() 75 Signature signature = new Signature(sig); in testSignatureByteArrayConstructorNull()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 2079 Signature sig = Signature.getInstance("SHA256withRSA"); in testKeyStore_LargeNumberOfKeysSupported_RSA() local 2080 sig.initSign(keystorePrivateKey1); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2081 sig.update(message); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2082 byte[] signature = sig.sign(); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2083 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2084 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2085 sig.update(message); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2086 assertTrue(sig.verify(signature)); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2088 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2089 sig.initSign(keystorePrivateKey2); in testKeyStore_LargeNumberOfKeysSupported_RSA() [all …]
|
D | SignatureTest.java | 1196 Signature sig = (provider != null) in assertSignatureVerifiesOneShot() local 1198 sig.initVerify(publicKey); in assertSignatureVerifiesOneShot() 1199 sig.update(message); in assertSignatureVerifiesOneShot() 1200 if (!sig.verify(signature)) { in assertSignatureVerifiesOneShot() 1202 + ", provider: " + sig.getProvider().getName() in assertSignatureVerifiesOneShot() 1214 Signature sig = (provider != null) in assertSignatureDoesNotVerifyOneShot() local 1216 sig.initVerify(publicKey); in assertSignatureDoesNotVerifyOneShot() 1217 sig.update(message); in assertSignatureDoesNotVerifyOneShot() 1218 if (sig.verify(signature)) { in assertSignatureDoesNotVerifyOneShot() 1220 + ", provider: " + sig.getProvider().getName() in assertSignatureDoesNotVerifyOneShot() [all …]
|
/cts/tests/tests/jni/libjnitest/ |
D | macroized_tests.c | 136 const char *name, const char *sig) { in findStaticMethod() argument 138 name, sig); in findStaticMethod() 142 name, sig); in findStaticMethod() 152 const char *name, const char *sig) { in findInstanceMethod() argument 153 jmethodID result = CALL(GetMethodID, InstanceFromNative, name, sig); in findInstanceMethod() 157 name, sig); in findInstanceMethod() 169 callType ct, const char *name, const char *sig) { in findAppropriateMethod() argument 172 return findStaticMethod(env, errorMsg, name, sig); in findAppropriateMethod() 174 return findInstanceMethod(env, errorMsg, name, sig); in findAppropriateMethod()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AttestationApplicationId.java | 105 for (byte[] sig : signatureDigests) { in toString() 107 for (byte b : sig) { in toString()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | FontsContractTest.java | 69 for (Signature sig : info.signatures) { 70 out.add(sig.toByteArray()); in sig.toByteArray()
|
/cts/tools/dasm/src/dasm/ |
D | parser.cup | 272 signature_expr ::= Str:sig 273 {: dAsm.setSignature(sig.str_val); :} 419 DFIELD access:a Word:name Word:desc SIGNATURE Str:sig optional_default:v SEP 421 sig.str_val, v.variant_val); :}
|
D | DAsm.java | 362 void addField(short access, String name, String desc, String sig, in addField() argument 365 System.out.println("addField(" + name + ", " + desc + ", " + sig in addField()
|