summaryrefslogtreecommitdiff
path: root/libjava/javax/security/cert/X509CertBridge.h
blob: be6a18f15dfedebb08911a1c5e37a91621b98997 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_security_cert_X509CertBridge__
#define __javax_security_cert_X509CertBridge__

#pragma interface

#include <javax/security/cert/X509Certificate.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace math
    {
        class BigInteger;
    }
    namespace security
    {
        class Principal;
        class PublicKey;
      namespace cert
      {
          class X509Certificate;
      }
    }
  }
  namespace javax
  {
    namespace security
    {
      namespace cert
      {
          class X509CertBridge;
      }
    }
  }
}

class javax::security::cert::X509CertBridge : public ::javax::security::cert::X509Certificate
{

public: // actually package-private
  X509CertBridge(::java::security::cert::X509Certificate *);
public:
  JArray< jbyte > * getEncoded();
  void verify(::java::security::PublicKey *);
  void verify(::java::security::PublicKey *, ::java::lang::String *);
  ::java::lang::String * toString();
  ::java::security::PublicKey * getPublicKey();
  void checkValidity();
  void checkValidity(::java::util::Date *);
  jint getVersion();
  ::java::math::BigInteger * getSerialNumber();
  ::java::security::Principal * getIssuerDN();
  ::java::security::Principal * getSubjectDN();
  ::java::util::Date * getNotBefore();
  ::java::util::Date * getNotAfter();
  ::java::lang::String * getSigAlgName();
  ::java::lang::String * getSigAlgOID();
  JArray< jbyte > * getSigAlgParams();
private:
  ::java::security::cert::X509Certificate * __attribute__((aligned(__alignof__( ::javax::security::cert::X509Certificate)))) cert;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_security_cert_X509CertBridge__