summaryrefslogtreecommitdiff
path: root/libjava/java/security/MessageDigest.h
blob: 5cd6cf3b1a58df065052e1c199ea3973bee1af09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_security_MessageDigest__
#define __java_security_MessageDigest__

#pragma interface

#include <java/security/MessageDigestSpi.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace nio
    {
        class ByteBuffer;
    }
    namespace security
    {
        class MessageDigest;
        class Provider;
    }
  }
}

class java::security::MessageDigest : public ::java::security::MessageDigestSpi
{

public: // actually protected
  MessageDigest(::java::lang::String *);
public:
  static ::java::security::MessageDigest * getInstance(::java::lang::String *);
  static ::java::security::MessageDigest * getInstance(::java::lang::String *, ::java::lang::String *);
  static ::java::security::MessageDigest * getInstance(::java::lang::String *, ::java::security::Provider *);
  virtual ::java::security::Provider * getProvider();
  virtual void update(jbyte);
  virtual void update(JArray< jbyte > *, jint, jint);
  virtual void update(JArray< jbyte > *);
  virtual void update(::java::nio::ByteBuffer *);
  virtual JArray< jbyte > * digest();
  virtual jint digest(JArray< jbyte > *, jint, jint);
  virtual JArray< jbyte > * digest(JArray< jbyte > *);
  virtual ::java::lang::String * toString();
  static jboolean isEqual(JArray< jbyte > *, JArray< jbyte > *);
  virtual void reset();
  virtual ::java::lang::String * getAlgorithm();
  virtual jint getDigestLength();
  virtual ::java::lang::Object * clone();
private:
  ::java::lang::String * digestToString();
  static ::java::lang::String * MESSAGE_DIGEST;
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::security::MessageDigestSpi)))) algorithm;
public: // actually package-private
  ::java::security::Provider * provider;
private:
  JArray< jbyte > * lastDigest;
public:
  static ::java::lang::Class class$;
};

#endif // __java_security_MessageDigest__