gcc/libjava/gnu/javax/net/ssl/provider/DigestOutputStream.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

61 lines
1.4 KiB
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_javax_net_ssl_provider_DigestOutputStream__
#define __gnu_javax_net_ssl_provider_DigestOutputStream__
#pragma interface
#include <java/io/FilterOutputStream.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace security
{
namespace hash
{
class IMessageDigest;
}
}
}
namespace javax
{
namespace net
{
namespace ssl
{
namespace provider
{
class DigestOutputStream;
}
}
}
}
}
}
class gnu::javax::net::ssl::provider::DigestOutputStream : public ::java::io::FilterOutputStream
{
public: // actually package-private
DigestOutputStream(::java::io::OutputStream *, ::gnu::java::security::hash::IMessageDigest *, ::gnu::java::security::hash::IMessageDigest *);
void setDigesting(jboolean);
public:
void write(jint);
void write(JArray< jbyte > *);
void write(JArray< jbyte > *, jint, jint);
private:
::gnu::java::security::hash::IMessageDigest * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) md5;
::gnu::java::security::hash::IMessageDigest * sha;
jboolean digesting;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_javax_net_ssl_provider_DigestOutputStream__