summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/jce/sig/SignatureAdapter.h
blob: 68fdd64cb0f59e845dcae1e4469dc88a4d0787ba (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_security_jce_sig_SignatureAdapter__
#define __gnu_java_security_jce_sig_SignatureAdapter__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
        namespace jce
        {
          namespace sig
          {
              class SignatureAdapter;
          }
        }
        namespace sig
        {
            class ISignature;
            class ISignatureCodec;
        }
      }
    }
  }
  namespace java
  {
    namespace security
    {
        class PrivateKey;
        class PublicKey;
        class SecureRandom;
      namespace spec
      {
          class AlgorithmParameterSpec;
      }
    }
  }
}

class gnu::java::security::jce::sig::SignatureAdapter : public ::java::security::SignatureSpi
{

public: // actually protected
  SignatureAdapter(::java::lang::String *, ::gnu::java::security::sig::ISignatureCodec *);
private:
  SignatureAdapter(::gnu::java::security::sig::ISignature *, ::gnu::java::security::sig::ISignatureCodec *);
public:
  virtual ::java::lang::Object * clone();
  virtual void engineInitVerify(::java::security::PublicKey *);
  virtual void engineInitSign(::java::security::PrivateKey *);
  virtual void engineInitSign(::java::security::PrivateKey *, ::java::security::SecureRandom *);
  virtual void engineUpdate(jbyte);
  virtual void engineUpdate(JArray< jbyte > *, jint, jint);
  virtual JArray< jbyte > * engineSign();
  virtual jint engineSign(JArray< jbyte > *, jint, jint);
  virtual jboolean engineVerify(JArray< jbyte > *);
  virtual void engineSetParameter(::java::lang::String *, ::java::lang::Object *);
  virtual void engineSetParameter(::java::security::spec::AlgorithmParameterSpec *);
  virtual ::java::lang::Object * engineGetParameter(::java::lang::String *);
private:
  static ::java::util::logging::Logger * log;
  ::gnu::java::security::sig::ISignature * __attribute__((aligned(__alignof__( ::java::security::SignatureSpi)))) adaptee;
  ::gnu::java::security::sig::ISignatureCodec * codec;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_security_jce_sig_SignatureAdapter__