iaik.tc.asn1.comcrit
Class StrengthOfFunction
Object
BaseStructure
StrengthOfFunction
public class StrengthOfFunction
- extends BaseStructure
StrengthOfFunction ASN.1 structure.
StrengthOfFunction ::= ENUMERATED {
basic (0),
medium (1),
high (2) }
Methods inherited from class Object |
getClass, notify, notifyAll, wait, wait, wait |
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
StrengthOfFunction
public StrengthOfFunction()
StrengthOfFunction
public StrengthOfFunction(int type)
StrengthOfFunction
public StrengthOfFunction(ASN1Object obj)
throws CodingException
- Throws:
CodingException
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