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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [crypto/] [EncryptedPrivateKeyInfo.h] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_crypto_EncryptedPrivateKeyInfo__
5
#define __javax_crypto_EncryptedPrivateKeyInfo__
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
          class OID;
21
      }
22
    }
23
  }
24
  namespace java
25
  {
26
    namespace security
27
    {
28
        class AlgorithmParameters;
29
      namespace spec
30
      {
31
          class PKCS8EncodedKeySpec;
32
      }
33
    }
34
  }
35
  namespace javax
36
  {
37
    namespace crypto
38
    {
39
        class Cipher;
40
        class EncryptedPrivateKeyInfo;
41
    }
42
  }
43
}
44
 
45
class javax::crypto::EncryptedPrivateKeyInfo : public ::java::lang::Object
46
{
47
 
48
public:
49
  EncryptedPrivateKeyInfo(::java::security::AlgorithmParameters *, JArray< jbyte > *);
50
  EncryptedPrivateKeyInfo(JArray< jbyte > *);
51
  EncryptedPrivateKeyInfo(::java::lang::String *, JArray< jbyte > *);
52
private:
53
  static ::gnu::java::security::OID * getOid(::java::lang::String *);
54
public:
55
  virtual ::java::lang::String * getAlgName();
56
  virtual ::java::security::AlgorithmParameters * getAlgParameters();
57
  virtual JArray< jbyte > * getEncoded();
58
  virtual JArray< jbyte > * getEncryptedData();
59
  virtual ::java::security::spec::PKCS8EncodedKeySpec * getKeySpec(::javax::crypto::Cipher *);
60
private:
61
  void decode();
62
  void encode();
63
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) encryptedData;
64
  JArray< jbyte > * encoded;
65
  ::gnu::java::security::OID * algOid;
66
  ::java::lang::String * algName;
67
  ::java::security::AlgorithmParameters * params;
68
  JArray< jbyte > * encodedParams;
69
public:
70
  static ::java::lang::Class class$;
71
};
72
 
73
#endif // __javax_crypto_EncryptedPrivateKeyInfo__

powered by: WebSVN 2.1.0

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