Searched refs:sig (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | SignatureTest.java | 44 String sig = null; in testSignatureStringConstructorNull() local 47 Signature signature = new Signature(sig); in testSignatureStringConstructorNull() 70 byte[] sig = null; in testSignatureByteArrayConstructorNull() 73 Signature signature = new Signature(sig); in testSignatureByteArrayConstructorNull()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 2116 Signature sig = Signature.getInstance("SHA256withRSA"); in testKeyStore_LargeNumberOfKeysSupported_RSA() local 2117 sig.initSign(keystorePrivateKey1); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2118 sig.update(message); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2119 byte[] signature = sig.sign(); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2120 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2121 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2122 sig.update(message); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2123 assertTrue(sig.verify(signature)); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2125 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2126 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/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/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/tests/provider/src/android/provider/cts/ |
D | FontsContractTest.java | 70 for (Signature sig : info.signatures) { 71 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()
|