
// 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__
