2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_security_MessageDigest__
5 #define __java_security_MessageDigest__
9 #include <java/security/MessageDigestSpi.h>
10 #include <gcj/array.h>
28 class java::security::MessageDigest
: public ::java::security::MessageDigestSpi
31 public: // actually protected
32 MessageDigest(::java::lang::String
*);
34 static ::java::security::MessageDigest
* getInstance(::java::lang::String
*);
35 static ::java::security::MessageDigest
* getInstance(::java::lang::String
*, ::java::lang::String
*);
36 static ::java::security::MessageDigest
* getInstance(::java::lang::String
*, ::java::security::Provider
*);
37 virtual ::java::security::Provider
* getProvider();
38 virtual void update(jbyte
);
39 virtual void update(JArray
< jbyte
> *, jint
, jint
);
40 virtual void update(JArray
< jbyte
> *);
41 virtual void update(::java::nio::ByteBuffer
*);
42 virtual JArray
< jbyte
> * digest();
43 virtual jint
digest(JArray
< jbyte
> *, jint
, jint
);
44 virtual JArray
< jbyte
> * digest(JArray
< jbyte
> *);
45 virtual ::java::lang::String
* toString();
46 static jboolean
isEqual(JArray
< jbyte
> *, JArray
< jbyte
> *);
48 virtual ::java::lang::String
* getAlgorithm();
49 virtual jint
getDigestLength();
50 virtual ::java::lang::Object
* clone();
52 ::java::lang::String
* digestToString();
53 static ::java::lang::String
* MESSAGE_DIGEST
;
54 ::java::lang::String
* __attribute__((aligned(__alignof__( ::java::security::MessageDigestSpi
)))) algorithm
;
55 public: // actually package-private
56 ::java::security::Provider
* provider
;
58 JArray
< jbyte
> * lastDigest
;
60 static ::java::lang::Class
class$
;
63 #endif // __java_security_MessageDigest__