iaik.tc.asn1.comcrit
Class StrengthOfFunction

Object
  extended by BaseStructure
      extended by StrengthOfFunction

public class StrengthOfFunction
extends BaseStructure

StrengthOfFunction ASN.1 structure.

 StrengthOfFunction ::= ENUMERATED {
   basic (0),
   medium (1),
   high (2) }
 


Field Summary
static int basic
           
static int high
           
static int medium
           
 
Constructor Summary
StrengthOfFunction()
           
StrengthOfFunction(ASN1Object obj)
           
StrengthOfFunction(int type)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getStrength()
           
 int hashCode()
           
static StrengthOfFunction parse(Properties prop, String prefix)
           
 void setStrength(int strength)
           
 ASN1Object toASN1Object()
           
 String toString()
           
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

basic

public static final int basic
See Also:
Constant Field Values

medium

public static final int medium
See Also:
Constant Field Values

high

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

StrengthOfFunction

public StrengthOfFunction()

StrengthOfFunction

public StrengthOfFunction(int type)

StrengthOfFunction

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

toASN1Object

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

setStrength

public void setStrength(int strength)

getStrength

public int getStrength()

parse

public static StrengthOfFunction 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