SignedObject.h 1.13 KB
Newer Older
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

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_security_SignedObject__
#define __java_security_SignedObject__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace security
    {
        class PrivateKey;
        class PublicKey;
        class Signature;
        class SignedObject;
    }
  }
}

class java::security::SignedObject : public ::java::lang::Object
{

public:
  SignedObject(::java::io::Serializable *, ::java::security::PrivateKey *, ::java::security::Signature *);
  ::java::lang::Object * getObject();
  JArray< jbyte > * getSignature();
  ::java::lang::String * getAlgorithm();
  jboolean verify(::java::security::PublicKey *, ::java::security::Signature *);
private:
  void readObject(::java::io::ObjectInputStream *);
  static const jlong serialVersionUID = 720502720485447167LL;
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) content;
  JArray< jbyte > * signature;
  ::java::lang::String * thealgorithm;
public:
  static ::java::lang::Class class$;
};

#endif // __java_security_SignedObject__