2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_crypto_ExemptionMechanism__
5 #define __javax_crypto_ExemptionMechanism__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
18 class AlgorithmParameters
;
23 class AlgorithmParameterSpec
;
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
*);
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();
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
;
65 static ::java::lang::Class
class$
;
68 #endif // __javax_crypto_ExemptionMechanism__