gcc/
[official-gcc.git] / libjava / javax / crypto / ExemptionMechanism.h
blob65a0454661c91722c8540f9d612b03a6925f1cff
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_crypto_ExemptionMechanism__
5 #define __javax_crypto_ExemptionMechanism__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace security
18 class AlgorithmParameters;
19 class Key;
20 class Provider;
21 namespace spec
23 class AlgorithmParameterSpec;
27 namespace javax
29 namespace crypto
31 class ExemptionMechanism;
32 class ExemptionMechanismSpi;
37 class javax::crypto::ExemptionMechanism : public ::java::lang::Object
40 public: // actually protected
41 ExemptionMechanism(::javax::crypto::ExemptionMechanismSpi *, ::java::security::Provider *, ::java::lang::String *);
42 public:
43 static ::javax::crypto::ExemptionMechanism * getInstance(::java::lang::String *);
44 static ::javax::crypto::ExemptionMechanism * getInstance(::java::lang::String *, ::java::lang::String *);
45 static ::javax::crypto::ExemptionMechanism * getInstance(::java::lang::String *, ::java::security::Provider *);
46 virtual JArray< jbyte > * genExemptionBlob();
47 virtual jint genExemptionBlob(JArray< jbyte > *);
48 virtual jint genExemptionBlob(JArray< jbyte > *, jint);
49 virtual ::java::lang::String * getName();
50 virtual jint getOutputSize(jint);
51 virtual ::java::security::Provider * getProvider();
52 virtual void init(::java::security::Key *);
53 virtual void init(::java::security::Key *, ::java::security::AlgorithmParameters *);
54 virtual void init(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *);
55 virtual jboolean isCryptoAllowed(::java::security::Key *);
56 public: // actually protected
57 virtual void finalize();
58 private:
59 static ::java::lang::String * SERVICE;
60 ::javax::crypto::ExemptionMechanismSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) emSpi;
61 ::java::security::Provider * provider;
62 ::java::lang::String * mechanism;
63 jboolean virgin;
64 public:
65 static ::java::lang::Class class$;
68 #endif // __javax_crypto_ExemptionMechanism__