Searched defs:signature (Results 1 - 13 of 13) sorted by relevance

/libcore/luni/src/main/native/
H A DvalueOf.cpp24 static jobject valueOf(JNIEnv* env, jclass c, const char* signature, const T& value) { argument
25 static jmethodID valueOfMethod = env->GetStaticMethodID(c, "valueOf", signature);
/libcore/ojluni/src/main/java/java/security/
H A DSignedObject.java36 * object, the (to-be-)signed object and its signature.
74 * customized signature engines, which can implement signature
79 * is invoked to verify a signature. In other words, a malicious
83 * <p> The signature algorithm can be, among others, the NIST standard
125 * and stored in a byte array. The signature field is also in the
130 private byte[] signature; field in class:SignedObject
136 * designated signature engine.
140 * @param signingEngine the signature signing engine.
187 * Retrieves the signature o
[all...]
H A DSignature.java50 * of a digital signature algorithm. Digital signatures are used for
53 * <p> The signature algorithm can be, among others, the NIST standard
65 * either signing data or verifying a signature:<ol>
71 * <li>a public key, which initializes the signature for
75 * which initializes the signature for signing
87 * <li>Signing or Verifying a signature on all updated bytes. See the
98 * supply their own implementations of digital signature algorithms.
259 Debug.isOn("engine=") && !Debug.isOn("signature");
264 * The algorithm for this signature object.
275 * this signature objec
804 verify(byte[] signature) argument
840 verify(byte[] signature, int offset, int length) argument
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DSignatureBenchmark.java30 * Tests RSA and DSA signature creation and verification.
62 private byte[] signature; field in class:SignatureBenchmark
81 this.signature = SIGNATURES.get(signatureAlgorithm);
82 if (this.signature == null) {
86 this.signature = signer.sign();
87 SIGNATURES.put(signatureAlgorithm, signature);
125 verifier.verify(signature);
/libcore/ojluni/src/main/java/java/io/
H A DObjectStreamField.java49 /** canonical JVM signature of field type */
50 private final String signature; field in class:ObjectStreamField
95 signature = getClassSignature(type).intern();
101 * signature and unshared setting.
103 ObjectStreamField(String name, String signature, boolean unshared) { argument
108 this.signature = signature.intern();
112 switch (signature.charAt(0)) {
123 default: throw new IllegalArgumentException("illegal signature");
141 signature
[all...]
H A DObjectStreamClass.java694 String signature = ((tcode == 'L') || (tcode == '[')) ?
697 fields[i] = new ObjectStreamField(fname, signature, false);
1376 * Returns non-static, non-abstract method with given signature provided it
1413 * Returns non-static private method with given signature defined by given
1466 * Returns JVM type signature for given class.
1503 * Returns JVM type signature for given list of parameters and return type.
1730 dout.writeUTF(sig.signature);
1749 return ms1.signature.compareTo(ms2.signature);
1762 dout.writeUTF(sig.signature
1829 public final String signature; field in class:ObjectStreamClass.MemberSignature
[all...]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DMethodOverridesTest.java101 if (signature(method).equals("void visibility[] throws []")) {
118 if (signature(method).equals("void unchanged[] throws []")) {
157 * Returns a method signature of this form:
160 private String signature(Method method) { method in class:MethodOverridesTest
169 signatures.add(signature(method));
H A DOldAndroidClassTest.java145 String signature = method.toString();
147 int par = signature.indexOf('(');
148 int dot = signature.lastIndexOf('.', par);
150 signature = signature.substring(dot + 1);
152 assertFalse("Duplicate " + signature, set.contains(signature));
153 set.add(signature);
192 private boolean hasMethod(Method[] methods, String signature) { argument
194 if (method.toString().contains(signature)) {
[all...]
/libcore/luni/src/main/java/libcore/reflect/
H A DGenericSignatureParser.java28 * Implements a parser for the generics signature attribute.
117 * Parses the generic signature of a class and creates the data structure
118 * representing the signature.
121 * @param signature the generic signature of the class
123 public void parseForClass(GenericDeclaration genericDecl, String signature) { argument
124 setInput(genericDecl, signature);
147 * Parses the generic signature of a method and creates the data structure
148 * representing the signature.
151 * @param signature th
153 parseForMethod(GenericDeclaration genericDecl, String signature, Class<?>[] rawExceptionTypes) argument
184 parseForConstructor(GenericDeclaration genericDecl, String signature, Class<?>[] rawExceptionTypes) argument
214 parseForField(GenericDeclaration genericDecl, String signature) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DOCSPResponse.java78 * signature BIT STRING,
81 * The value for signature SHALL be computed on the hash of the DER
181 private final byte[] signature; field in class:OCSPResponse
221 signature = null;
265 // Need the DER encoded ResponseData to verify the signature later
358 // signature
359 signature = seqTmp[2].getBitString();
553 // verify the signature
581 "Error verifying OCSP Response's signature");
584 // Need responder's cert in order to verify the signature
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DX509CRLImpl.java63 * signature BIT STRING }
74 * signature AlgorithmIdentifier,
96 private byte[] signature = null; // raw signature bits field in class:X509CRLImpl
117 * the signature of this CRL. Null if the CRL has not
123 * successfully verify the signature of this CRL, or the
335 * @exception NoSuchAlgorithmException on unsupported signature
339 * @exception SignatureException on signature errors.
351 * and that the signature verification was computed by
355 * @param sigProvider the name of the signature provide
[all...]
H A DX509CertImpl.java84 public static final String SIGNATURE = "signature";
114 // x509.signature
125 protected byte[] signature = null; field in class:X509CertImpl
152 * the signature of this certificate. Null if the certificate has not
158 * successfully verify the signature of this certificate, or the
397 * @exception NoSuchAlgorithmException on unsupported signature
400 * @exception SignatureException on signature errors.
419 * @exception NoSuchAlgorithmException on unsupported signature
423 * @exception SignatureException on signature errors.
446 // Verify the signature
[all...]
/libcore/ojluni/src/main/native/
H A Djni_util.c194 const char *signature,
201 const char *p = signature;
216 mid = (*env)->GetStaticMethodID(env, clazz, name, signature);
219 va_start(args, signature);
253 (*env)->FatalError(env, "JNU_CallStaticMethodByName: illegal signature");
271 const char *signature,
277 va_start(args, signature);
278 result = JNU_CallMethodByNameV(env, hasException, obj, name, signature,
291 const char *signature,
297 const char *p = signature;
190 JNU_CallStaticMethodByName(JNIEnv *env, jboolean *hasException, const char *class_name, const char *name, const char *signature, ...) argument
267 JNU_CallMethodByName(JNIEnv *env, jboolean *hasException, jobject obj, const char *name, const char *signature, ...) argument
287 JNU_CallMethodByNameV(JNIEnv *env, jboolean *hasException, jobject obj, const char *name, const char *signature, va_list args) argument
1078 JNU_GetFieldByName(JNIEnv *env, jboolean *hasException, jobject obj, const char *name, const char *signature) argument
1142 JNU_SetFieldByName(JNIEnv *env, jboolean *hasException, jobject obj, const char *name, const char *signature, ...) argument
1206 JNU_GetStaticFieldByName(JNIEnv *env, jboolean *hasException, const char *classname, const char *name, const char *signature) argument
1273 JNU_SetStaticFieldByName(JNIEnv *env, jboolean *hasException, const char *classname, const char *name, const char *signature, ...) argument
[all...]

Completed in 373 milliseconds