iaik.tc.asn1.fips
Class SecurityLevel
Object
SecurityLevel
public class SecurityLevel
- extends Object
SecurityLevel ASN.1 structure.
SecurityLevel ::= ENUMERATED {
level1 (1),
level2 (2),
level3 (3),
level4 (4) }
Methods inherited from class Object |
getClass, notify, notifyAll, wait, wait, wait |
level1
public static final int level1
- See Also:
- Constant Field Values
level2
public static final int level2
- See Also:
- Constant Field Values
level3
public static final int level3
- See Also:
- Constant Field Values
level4
public static final int level4
- See Also:
- Constant Field Values
SecurityLevel
public SecurityLevel()
SecurityLevel
public SecurityLevel(int type)
SecurityLevel
public SecurityLevel(ASN1Object obj)
throws CodingException
- Throws:
CodingException
toASN1Object
public ASN1Object toASN1Object()
throws CodingException
- Throws:
CodingException
setLevel
public void setLevel(int strength)
getLevel
public int getLevel()
parse
public static SecurityLevel 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