summaryrefslogtreecommitdiff
path: root/libjava/org/ietf/jgss/GSSCredential.h
blob: 57560c474ea281bd60fb15cd3f550dce20f9641f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __org_ietf_jgss_GSSCredential__
#define __org_ietf_jgss_GSSCredential__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace org
  {
    namespace ietf
    {
      namespace jgss
      {
          class GSSCredential;
          class GSSName;
          class Oid;
      }
    }
  }
}

class org::ietf::jgss::GSSCredential : public ::java::lang::Object
{

public:
  virtual void dispose() = 0;
  virtual ::org::ietf::jgss::GSSName * getName() = 0;
  virtual ::org::ietf::jgss::GSSName * getName(::org::ietf::jgss::Oid *) = 0;
  virtual jint getRemainingLifetime() = 0;
  virtual jint getRemainingInitLifetime(::org::ietf::jgss::Oid *) = 0;
  virtual jint getRemainingAcceptLifetime(::org::ietf::jgss::Oid *) = 0;
  virtual jint getUsage() = 0;
  virtual jint getUsage(::org::ietf::jgss::Oid *) = 0;
  virtual JArray< ::org::ietf::jgss::Oid * > * getMechs() = 0;
  virtual void add(::org::ietf::jgss::GSSName *, jint, jint, ::org::ietf::jgss::Oid *, jint) = 0;
  virtual jboolean equals(::java::lang::Object *) = 0;
  virtual jint hashCode() = 0;
  static const jint INITIATE_AND_ACCEPT = 0;
  static const jint INITIATE_ONLY = 1;
  static const jint ACCEPT_ONLY = 2;
  static const jint DEFAULT_LIFETIME = 0;
  static const jint INDEFINITE_LIFETIME = 2147483647;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __org_ietf_jgss_GSSCredential__