Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 14 of 14) sorted by relevance

/cts/tools/signature-tools/
DAndroid.mk51 LOCAL_PREBUILT_EXECUTABLES := sig
58 LOCAL_PREBUILT_EXECUTABLES := sig-create
65 LOCAL_PREBUILT_EXECUTABLES := sig-check
Dsig-check56 sig --compare \
57 --from sig ${ANDROID_BUILD_TOP}/cts/tools/signature-tools/spec/android.spec \
Dsig-create56 sig --create dex ${COREDEX} \
/cts/tools/signature-tools/src/signature/io/impl/
DBinaryApi.java70 IApi sig = null; in loadApi() local
72 sig = (IApi) ois.readObject(); in loadApi()
77 sig.setName(name); in loadApi()
81 return sig; in loadApi()
/cts/tests/tests/content/src/android/content/pm/cts/
DSignatureTest.java44 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/tools/dex-tools/test/dex/reader/
DDexFileReaderTests.java221 DexAnnotation sig = getAnnotation(G0, LDALVIK_ANNOTATION_SIGNATURE); in testG0() local
222 assertEquals(1, sig.getAttributes().size()); in testG0()
223 DexAnnotationAttribute dexAnnotationValue = sig.getAttributes().get(0); in testG0()
246 DexAnnotation sig = getAnnotation(G1, LDALVIK_ANNOTATION_SIGNATURE); in testG1() local
247 assertEquals(1, sig.getAttributes().size()); in testG1()
248 DexAnnotationAttribute dexAnnotationValue = sig.getAttributes().get(0); in testG1()
299 DexAnnotation sig = getAnnotation(Outer0, "Ldalvik/annotation/MemberClasses;"); in testOuter0() local
300 assertEquals(1, sig.getAttributes().size()); in testOuter0()
301 DexAnnotationAttribute dexAnnotationValue = sig.getAttributes().get(0); in testOuter0()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java2091 Signature sig = Signature.getInstance("SHA256withRSA"); in testKeyStore_LargeNumberOfKeysSupported_RSA() local
2092 sig.initSign(keystorePrivateKey1); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2093 sig.update(message); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2094 byte[] signature = sig.sign(); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2095 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2096 sig.initVerify(cert1.getPublicKey()); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2097 sig.update(message); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2098 assertTrue(sig.verify(signature)); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2100 sig = Signature.getInstance(sig.getAlgorithm()); in testKeyStore_LargeNumberOfKeysSupported_RSA()
2101 sig.initSign(keystorePrivateKey2); in testKeyStore_LargeNumberOfKeysSupported_RSA()
[all …]
DSignatureTest.java1197 Signature sig = (provider != null) in assertSignatureVerifiesOneShot() local
1199 sig.initVerify(publicKey); in assertSignatureVerifiesOneShot()
1200 sig.update(message); in assertSignatureVerifiesOneShot()
1201 if (!sig.verify(signature)) { in assertSignatureVerifiesOneShot()
1203 + ", provider: " + sig.getProvider().getName() in assertSignatureVerifiesOneShot()
1215 Signature sig = (provider != null) in assertSignatureDoesNotVerifyOneShot() local
1217 sig.initVerify(publicKey); in assertSignatureDoesNotVerifyOneShot()
1218 sig.update(message); in assertSignatureDoesNotVerifyOneShot()
1219 if (sig.verify(signature)) { in assertSignatureDoesNotVerifyOneShot()
1221 + ", provider: " + sig.getProvider().getName() in assertSignatureDoesNotVerifyOneShot()
[all …]
DCipherTest.java723 Signature sig = Signature.getInstance("SHA256withRSA"); in testLargerThanMaxSizedPlaintextRejected() local
724 sig.sign(); in testLargerThanMaxSizedPlaintextRejected()
/cts/tests/tests/jni/libjnitest/
Dmacroized_tests.c135 const char *name, const char *sig) { in findStaticMethod() argument
137 name, sig); in findStaticMethod()
141 name, sig); in findStaticMethod()
151 const char *name, const char *sig) { in findInstanceMethod() argument
152 jmethodID result = CALL(GetMethodID, InstanceFromNative, name, sig); in findInstanceMethod()
156 name, sig); in findInstanceMethod()
168 callType ct, const char *name, const char *sig) { in findAppropriateMethod() argument
171 return findStaticMethod(env, errorMsg, name, sig); in findAppropriateMethod()
173 return findInstanceMethod(env, errorMsg, name, sig); in findAppropriateMethod()
/cts/tools/dasm/src/dasm/
Dparser.cup272 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); :}
DDAsm.java362 void addField(short access, String name, String desc, String sig, in addField() argument
365 System.out.println("addField(" + name + ", " + desc + ", " + sig in addField()
/cts/tests/tests/os/jni/seccomp-tests/tests/
Dseccomp_bpf_tests.c859 void tracer_stop(int sig) in tracer_stop() argument
/cts/tools/dex-tools/dex/
Dclasses0.out.dex93234 org.bouncycastle.asn1.DERBitString sig
94834 org.bouncycastle.asn1.DERBitString sig
100545 private java.security.Signature sig