From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository. --- libjava/javax/crypto/Mac.h | 73 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 libjava/javax/crypto/Mac.h (limited to 'libjava/javax/crypto/Mac.h') diff --git a/libjava/javax/crypto/Mac.h b/libjava/javax/crypto/Mac.h new file mode 100644 index 000000000..d92421146 --- /dev/null +++ b/libjava/javax/crypto/Mac.h @@ -0,0 +1,73 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_Mac__ +#define __javax_crypto_Mac__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace java + { + namespace nio + { + class ByteBuffer; + } + namespace security + { + class Key; + class Provider; + namespace spec + { + class AlgorithmParameterSpec; + } + } + } + namespace javax + { + namespace crypto + { + class Mac; + class MacSpi; + } + } +} + +class javax::crypto::Mac : public ::java::lang::Object +{ + +public: // actually protected + Mac(::javax::crypto::MacSpi *, ::java::security::Provider *, ::java::lang::String *); +public: + static ::javax::crypto::Mac * getInstance(::java::lang::String *); + static ::javax::crypto::Mac * getInstance(::java::lang::String *, ::java::lang::String *); + static ::javax::crypto::Mac * getInstance(::java::lang::String *, ::java::security::Provider *); + virtual JArray< jbyte > * doFinal(); + virtual JArray< jbyte > * doFinal(JArray< jbyte > *); + virtual void doFinal(JArray< jbyte > *, jint); + virtual ::java::lang::String * getAlgorithm(); + virtual jint getMacLength(); + virtual ::java::security::Provider * getProvider(); + virtual void init(::java::security::Key *); + virtual void init(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *); + virtual void reset(); + virtual void update(jbyte); + virtual void update(JArray< jbyte > *); + virtual void update(JArray< jbyte > *, jint, jint); + virtual void update(::java::nio::ByteBuffer *); + virtual ::java::lang::Object * clone(); +private: + static ::java::lang::String * SERVICE; + ::javax::crypto::MacSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) macSpi; + ::java::security::Provider * provider; + ::java::lang::String * algorithm; + jboolean virgin; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_Mac__ -- cgit v1.2.3