summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.h
blob: 082229302bb4d2549318ac74865bd99ab6d0c764 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_security_sig_rsa_RSAPKCS1V1_5Signature__
#define __gnu_java_security_sig_rsa_RSAPKCS1V1_5Signature__

#pragma interface

#include <gnu/java/security/sig/BaseSignature.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
        namespace hash
        {
            class IMessageDigest;
        }
        namespace sig
        {
          namespace rsa
          {
              class EMSA_PKCS1_V1_5;
              class RSAPKCS1V1_5Signature;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace security
    {
        class PrivateKey;
        class PublicKey;
    }
  }
}

class gnu::java::security::sig::rsa::RSAPKCS1V1_5Signature : public ::gnu::java::security::sig::BaseSignature
{

public:
  RSAPKCS1V1_5Signature();
  RSAPKCS1V1_5Signature(::java::lang::String *);
  RSAPKCS1V1_5Signature(::gnu::java::security::hash::IMessageDigest *);
private:
  RSAPKCS1V1_5Signature(::gnu::java::security::sig::rsa::RSAPKCS1V1_5Signature *);
public:
  virtual ::java::lang::Object * clone();
public: // actually protected
  virtual void setupForVerification(::java::security::PublicKey *);
  virtual void setupForSigning(::java::security::PrivateKey *);
  virtual ::java::lang::Object * generateSignature();
  virtual jboolean verifySignature(::java::lang::Object *);
private:
  ::gnu::java::security::sig::rsa::EMSA_PKCS1_V1_5 * __attribute__((aligned(__alignof__( ::gnu::java::security::sig::BaseSignature)))) pkcs1;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_security_sig_rsa_RSAPKCS1V1_5Signature__