iaik.tc.asn1.fips
Class FIPSLevel
Object
BaseStructure
FIPSLevel
public class FIPSLevel
- extends BaseStructure
FIPSLevel ASN.1 structure.
FIPSLevel ::= SEQUENCE {
version IA5STRING, -- "140-1" or "140-2"
level SecurityLevel
,
plus BOOLEAN DEFAULT FALSE }
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
version_140_1
public static final IA5String version_140_1
version_140_2
public static final IA5String version_140_2
FIPSLevel
public FIPSLevel()
FIPSLevel
public FIPSLevel(IA5String version,
SecurityLevel level,
BOOLEAN plus)
FIPSLevel
public FIPSLevel(ASN1Object obj)
throws CodingException
- Throws:
CodingException
toASN1Object
public ASN1Object toASN1Object()
throws CodingException
- Specified by:
toASN1Object
in class BaseStructure
- Throws:
CodingException
setVersion
public void setVersion(IA5String version)
setSecurityLevel
public void setSecurityLevel(SecurityLevel level)
setPlus
public void setPlus(BOOLEAN plus)
getVersion
public IA5String getVersion()
getLevel
public SecurityLevel getLevel()
getPlus
public BOOLEAN getPlus()
parse
public static FIPSLevel parse(Properties prop,
String prefix)
toString
public String toString()
- Overrides:
toString
in class Object