iaik.tc.asn1.secass
Class EKGenerationType

Object
  extended by BaseStructure
      extended by EKGenerationType

public class EKGenerationType
extends BaseStructure

EKGenerationType ASN.1 structure.

 EKGenerationType ::= ENUMERATED {
   internal (0),
   injected (1),
   internalRevocable(2),
   injectedRevocable(3) }
 


Field Summary
static int injected
           
static int injectedrevocable
           
static int internal
           
static int internalrevocable
           
 
Constructor Summary
EKGenerationType()
           
EKGenerationType(ASN1Object obj)
           
EKGenerationType(int type)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getType()
           
 int hashCode()
           
static EKGenerationType parse(Properties prop, String prefix)
           
 void setType(int type)
           
 ASN1Object toASN1Object()
           
 String toString()
           
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

internal

public static final int internal
See Also:
Constant Field Values

injected

public static final int injected
See Also:
Constant Field Values

internalrevocable

public static final int internalrevocable
See Also:
Constant Field Values

injectedrevocable

public static final int injectedrevocable
See Also:
Constant Field Values
Constructor Detail

EKGenerationType

public EKGenerationType()

EKGenerationType

public EKGenerationType(int type)

EKGenerationType

public EKGenerationType(ASN1Object obj)
                 throws CodingException
Throws:
CodingException
Method Detail

toASN1Object

public ASN1Object toASN1Object()
                        throws CodingException
Specified by:
toASN1Object in class BaseStructure
Throws:
CodingException

setType

public void setType(int type)

getType

public int getType()

parse

public static EKGenerationType parse(Properties prop,
                                     String prefix)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object