summaryrefslogtreecommitdiff
path: root/libjava/java/security/cert/X509Certificate.h
blob: 9f8afe1f418d92e73f0fed26fe5f131cbcc04f74 (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
79
80
81
82
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_security_cert_X509Certificate__
#define __java_security_cert_X509Certificate__

#pragma interface

#include <java/security/cert/Certificate.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace math
    {
        class BigInteger;
    }
    namespace security
    {
        class Principal;
      namespace cert
      {
          class X509Certificate;
      }
    }
  }
  namespace javax
  {
    namespace security
    {
      namespace auth
      {
        namespace x500
        {
            class X500Principal;
        }
      }
    }
  }
}

class java::security::cert::X509Certificate : public ::java::security::cert::Certificate
{

public: // actually protected
  X509Certificate();
public:
  virtual void checkValidity() = 0;
  virtual void checkValidity(::java::util::Date *) = 0;
  virtual jint getVersion() = 0;
  virtual ::java::math::BigInteger * getSerialNumber() = 0;
  virtual ::java::security::Principal * getIssuerDN() = 0;
  virtual ::java::security::Principal * getSubjectDN() = 0;
  virtual ::java::util::Date * getNotBefore() = 0;
  virtual ::java::util::Date * getNotAfter() = 0;
  virtual JArray< jbyte > * getTBSCertificate() = 0;
  virtual JArray< jbyte > * getSignature() = 0;
  virtual ::java::lang::String * getSigAlgName() = 0;
  virtual ::java::lang::String * getSigAlgOID() = 0;
  virtual JArray< jbyte > * getSigAlgParams() = 0;
  virtual JArray< jboolean > * getIssuerUniqueID() = 0;
  virtual JArray< jboolean > * getSubjectUniqueID() = 0;
  virtual JArray< jboolean > * getKeyUsage() = 0;
  virtual jint getBasicConstraints() = 0;
  virtual ::java::util::List * getExtendedKeyUsage();
  virtual ::java::util::Collection * getSubjectAlternativeNames();
  virtual ::java::util::Collection * getIssuerAlternativeNames();
  virtual ::javax::security::auth::x500::X500Principal * getSubjectX500Principal();
  virtual ::javax::security::auth::x500::X500Principal * getIssuerX500Principal();
  virtual jboolean hasUnsupportedCriticalExtension() = 0;
  virtual ::java::util::Set * getCriticalExtensionOIDs() = 0;
  virtual ::java::util::Set * getNonCriticalExtensionOIDs() = 0;
  virtual JArray< jbyte > * getExtensionValue(::java::lang::String *) = 0;
private:
  static const jlong serialVersionUID = -2491127588187038216LL;
public:
  static ::java::lang::Class class$;
};

#endif // __java_security_cert_X509Certificate__