OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [java/] [security/] [key/] [IKeyPairCodec.h] - Blame information for rev 756

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_java_security_key_IKeyPairCodec__
5
#define __gnu_java_security_key_IKeyPairCodec__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace java
17
    {
18
      namespace security
19
      {
20
        namespace key
21
        {
22
            class IKeyPairCodec;
23
        }
24
      }
25
    }
26
  }
27
  namespace java
28
  {
29
    namespace security
30
    {
31
        class PrivateKey;
32
        class PublicKey;
33
    }
34
  }
35
}
36
 
37
class gnu::java::security::key::IKeyPairCodec : public ::java::lang::Object
38
{
39
 
40
public:
41
  virtual jint getFormatID() = 0;
42
  virtual JArray< jbyte > * encodePublicKey(::java::security::PublicKey *) = 0;
43
  virtual JArray< jbyte > * encodePrivateKey(::java::security::PrivateKey *) = 0;
44
  virtual ::java::security::PublicKey * decodePublicKey(JArray< jbyte > *) = 0;
45
  virtual ::java::security::PrivateKey * decodePrivateKey(JArray< jbyte > *) = 0;
46
  static const jint RAW_FORMAT = 1;
47
  static const jint X509_FORMAT = 2;
48
  static const jint PKCS8_FORMAT = 3;
49
  static const jint ASN1_FORMAT = 4;
50
  static ::java::lang::Class class$;
51
} __attribute__ ((java_interface));
52
 
53
#endif // __gnu_java_security_key_IKeyPairCodec__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.