summaryrefslogtreecommitdiff
path: root/libjava/javax/security/cert
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/security/cert
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
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.
Diffstat (limited to 'libjava/javax/security/cert')
-rw-r--r--libjava/javax/security/cert/Certificate.h48
-rw-r--r--libjava/javax/security/cert/CertificateEncodingException.h33
-rw-r--r--libjava/javax/security/cert/CertificateException.h33
-rw-r--r--libjava/javax/security/cert/CertificateExpiredException.h33
-rw-r--r--libjava/javax/security/cert/CertificateNotYetValidException.h33
-rw-r--r--libjava/javax/security/cert/CertificateParsingException.h33
-rw-r--r--libjava/javax/security/cert/X509CertBridge.h70
-rw-r--r--libjava/javax/security/cert/X509Certificate.h58
8 files changed, 341 insertions, 0 deletions
diff --git a/libjava/javax/security/cert/Certificate.h b/libjava/javax/security/cert/Certificate.h
new file mode 100644
index 000000000..1417a9ae2
--- /dev/null
+++ b/libjava/javax/security/cert/Certificate.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_cert_Certificate__
+#define __javax_security_cert_Certificate__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PublicKey;
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+}
+
+class javax::security::cert::Certificate : public ::java::lang::Object
+{
+
+public:
+ Certificate();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual JArray< jbyte > * getEncoded() = 0;
+ virtual void verify(::java::security::PublicKey *) = 0;
+ virtual void verify(::java::security::PublicKey *, ::java::lang::String *) = 0;
+ virtual ::java::lang::String * toString() = 0;
+ virtual ::java::security::PublicKey * getPublicKey() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_cert_Certificate__
diff --git a/libjava/javax/security/cert/CertificateEncodingException.h b/libjava/javax/security/cert/CertificateEncodingException.h
new file mode 100644
index 000000000..d9f102e63
--- /dev/null
+++ b/libjava/javax/security/cert/CertificateEncodingException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_cert_CertificateEncodingException__
+#define __javax_security_cert_CertificateEncodingException__
+
+#pragma interface
+
+#include <javax/security/cert/CertificateException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertificateEncodingException;
+ }
+ }
+ }
+}
+
+class javax::security::cert::CertificateEncodingException : public ::javax::security::cert::CertificateException
+{
+
+public:
+ CertificateEncodingException();
+ CertificateEncodingException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_cert_CertificateEncodingException__
diff --git a/libjava/javax/security/cert/CertificateException.h b/libjava/javax/security/cert/CertificateException.h
new file mode 100644
index 000000000..259c5fb0f
--- /dev/null
+++ b/libjava/javax/security/cert/CertificateException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_cert_CertificateException__
+#define __javax_security_cert_CertificateException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertificateException;
+ }
+ }
+ }
+}
+
+class javax::security::cert::CertificateException : public ::java::lang::Exception
+{
+
+public:
+ CertificateException();
+ CertificateException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_cert_CertificateException__
diff --git a/libjava/javax/security/cert/CertificateExpiredException.h b/libjava/javax/security/cert/CertificateExpiredException.h
new file mode 100644
index 000000000..c8260988d
--- /dev/null
+++ b/libjava/javax/security/cert/CertificateExpiredException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_cert_CertificateExpiredException__
+#define __javax_security_cert_CertificateExpiredException__
+
+#pragma interface
+
+#include <javax/security/cert/CertificateException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertificateExpiredException;
+ }
+ }
+ }
+}
+
+class javax::security::cert::CertificateExpiredException : public ::javax::security::cert::CertificateException
+{
+
+public:
+ CertificateExpiredException();
+ CertificateExpiredException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_cert_CertificateExpiredException__
diff --git a/libjava/javax/security/cert/CertificateNotYetValidException.h b/libjava/javax/security/cert/CertificateNotYetValidException.h
new file mode 100644
index 000000000..6b840c51e
--- /dev/null
+++ b/libjava/javax/security/cert/CertificateNotYetValidException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_cert_CertificateNotYetValidException__
+#define __javax_security_cert_CertificateNotYetValidException__
+
+#pragma interface
+
+#include <javax/security/cert/CertificateException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertificateNotYetValidException;
+ }
+ }
+ }
+}
+
+class javax::security::cert::CertificateNotYetValidException : public ::javax::security::cert::CertificateException
+{
+
+public:
+ CertificateNotYetValidException();
+ CertificateNotYetValidException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_cert_CertificateNotYetValidException__
diff --git a/libjava/javax/security/cert/CertificateParsingException.h b/libjava/javax/security/cert/CertificateParsingException.h
new file mode 100644
index 000000000..e55a28405
--- /dev/null
+++ b/libjava/javax/security/cert/CertificateParsingException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_cert_CertificateParsingException__
+#define __javax_security_cert_CertificateParsingException__
+
+#pragma interface
+
+#include <javax/security/cert/CertificateException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertificateParsingException;
+ }
+ }
+ }
+}
+
+class javax::security::cert::CertificateParsingException : public ::javax::security::cert::CertificateException
+{
+
+public:
+ CertificateParsingException();
+ CertificateParsingException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_cert_CertificateParsingException__
diff --git a/libjava/javax/security/cert/X509CertBridge.h b/libjava/javax/security/cert/X509CertBridge.h
new file mode 100644
index 000000000..be6a18f15
--- /dev/null
+++ b/libjava/javax/security/cert/X509CertBridge.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_cert_X509CertBridge__
+#define __javax_security_cert_X509CertBridge__
+
+#pragma interface
+
+#include <javax/security/cert/X509Certificate.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ class Principal;
+ class PublicKey;
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class X509CertBridge;
+ }
+ }
+ }
+}
+
+class javax::security::cert::X509CertBridge : public ::javax::security::cert::X509Certificate
+{
+
+public: // actually package-private
+ X509CertBridge(::java::security::cert::X509Certificate *);
+public:
+ JArray< jbyte > * getEncoded();
+ void verify(::java::security::PublicKey *);
+ void verify(::java::security::PublicKey *, ::java::lang::String *);
+ ::java::lang::String * toString();
+ ::java::security::PublicKey * getPublicKey();
+ void checkValidity();
+ void checkValidity(::java::util::Date *);
+ jint getVersion();
+ ::java::math::BigInteger * getSerialNumber();
+ ::java::security::Principal * getIssuerDN();
+ ::java::security::Principal * getSubjectDN();
+ ::java::util::Date * getNotBefore();
+ ::java::util::Date * getNotAfter();
+ ::java::lang::String * getSigAlgName();
+ ::java::lang::String * getSigAlgOID();
+ JArray< jbyte > * getSigAlgParams();
+private:
+ ::java::security::cert::X509Certificate * __attribute__((aligned(__alignof__( ::javax::security::cert::X509Certificate)))) cert;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_cert_X509CertBridge__
diff --git a/libjava/javax/security/cert/X509Certificate.h b/libjava/javax/security/cert/X509Certificate.h
new file mode 100644
index 000000000..8d1cda6c6
--- /dev/null
+++ b/libjava/javax/security/cert/X509Certificate.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_security_cert_X509Certificate__
+#define __javax_security_cert_X509Certificate__
+
+#pragma interface
+
+#include <javax/security/cert/Certificate.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ class Principal;
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+}
+
+class javax::security::cert::X509Certificate : public ::javax::security::cert::Certificate
+{
+
+public:
+ X509Certificate();
+ static ::javax::security::cert::X509Certificate * getInstance(JArray< jbyte > *);
+ static ::javax::security::cert::X509Certificate * getInstance(::java::io::InputStream *);
+ virtual void checkValidity() = 0;
+ virtual void checkValidity(::java::util::Date *) = 0;
+ virtual jint getVersion() = 0;
+ virtual ::java::math::BigInteger * getSerialNumber() = 0;
+ virtual ::java::security::Principal * getIssuerDN() = 0;
+ virtual ::java::security::Principal * getSubjectDN() = 0;
+ virtual ::java::util::Date * getNotBefore() = 0;
+ virtual ::java::util::Date * getNotAfter() = 0;
+ virtual ::java::lang::String * getSigAlgName() = 0;
+ virtual ::java::lang::String * getSigAlgOID() = 0;
+ virtual JArray< jbyte > * getSigAlgParams() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_security_cert_X509Certificate__