iaik.tc.asn1.comcrit
Class CommonCriteriaMeasures

Object
  extended by BaseStructure
      extended by CommonCriteriaMeasures

public class CommonCriteriaMeasures
extends BaseStructure

CommonCriteriaMeasures ASN.1 structure.

 CommonCriteriaMeasures ::= SEQUENCE {
   version          IA5STRING, -- '2.2' or '3.0'; future syntax defined by CC
   assurancelevel   EvaluationAssuranceLevel,
   evaluationStatus EvaluationStatus,
   plus             BOOLEAN DEFAULT FALSE,
   strengthOfFunction [0] IMPLICIT StrengthOfFunction OPTIONAL,
   profileOid         [1] IMPLICIT OBJECT IDENTIFIER OPTIONAL,
   profileUri         [2] IMPLICIT URIReference OPTIONAL,
   targetOid          [3] IMPLICIT OBJECT IDENTIFIER OPTIONAL,
   targetUri          [4] IMPLICIT URIReference OPTIONAL }
 


Field Summary
static IA5String version_2_2
           
static IA5String version_3_0
           
 
Constructor Summary
CommonCriteriaMeasures()
           
CommonCriteriaMeasures(ASN1Object obj)
           
CommonCriteriaMeasures(IA5String version, EvaluationAssuranceLevel assurancelevel, EvaluationStatus evaluationstatus, BOOLEAN plus, StrengthOfFunction strengthOfFunction, ObjectID profileOid, URIReference profileUri, ObjectID targetOid, URIReference targetUri)
           
 
Method Summary
 EvaluationAssuranceLevel getEvaluationAssuranceLevel()
           
 EvaluationStatus getEvaluationStatus()
           
 BOOLEAN getPlus()
           
 ObjectID getProfileOid()
           
 URIReference getProfileUri()
           
 StrengthOfFunction getStrengthOfFunction()
           
 ObjectID getTargetOid()
           
 URIReference getTargetUri()
           
 IA5String getVersion()
           
static CommonCriteriaMeasures parse(Properties prop, String prefix)
           
 void setEvaluationAssuranceLevel(EvaluationAssuranceLevel assurancelevel)
           
 void setEvaluationStatus(EvaluationStatus evaluationStatus)
           
 void setPlus(BOOLEAN plus)
           
 void setProfileOid(ObjectID profileOid)
           
 void setProfileUri(URIReference profileUri)
           
 void setStrengthOfFunction(StrengthOfFunction strengthOfFunction)
           
 void setTargetOid(ObjectID targetOid)
           
 void setTargetUri(URIReference targetUri)
           
 void setVersion(IA5String version)
           
 ASN1Object toASN1Object()
           
 String toString()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

version_2_2

public static final IA5String version_2_2

version_3_0

public static final IA5String version_3_0
Constructor Detail

CommonCriteriaMeasures

public CommonCriteriaMeasures()

CommonCriteriaMeasures

public CommonCriteriaMeasures(IA5String version,
                              EvaluationAssuranceLevel assurancelevel,
                              EvaluationStatus evaluationstatus,
                              BOOLEAN plus,
                              StrengthOfFunction strengthOfFunction,
                              ObjectID profileOid,
                              URIReference profileUri,
                              ObjectID targetOid,
                              URIReference targetUri)

CommonCriteriaMeasures

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

toASN1Object

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

setVersion

public void setVersion(IA5String version)

setEvaluationAssuranceLevel

public void setEvaluationAssuranceLevel(EvaluationAssuranceLevel assurancelevel)

setEvaluationStatus

public void setEvaluationStatus(EvaluationStatus evaluationStatus)

setPlus

public void setPlus(BOOLEAN plus)

setStrengthOfFunction

public void setStrengthOfFunction(StrengthOfFunction strengthOfFunction)

setProfileOid

public void setProfileOid(ObjectID profileOid)

setProfileUri

public void setProfileUri(URIReference profileUri)

setTargetOid

public void setTargetOid(ObjectID targetOid)

setTargetUri

public void setTargetUri(URIReference targetUri)

getVersion

public IA5String getVersion()

getEvaluationAssuranceLevel

public EvaluationAssuranceLevel getEvaluationAssuranceLevel()

getEvaluationStatus

public EvaluationStatus getEvaluationStatus()

getPlus

public BOOLEAN getPlus()

getStrengthOfFunction

public StrengthOfFunction getStrengthOfFunction()

getProfileOid

public ObjectID getProfileOid()

getProfileUri

public URIReference getProfileUri()

getTargetOid

public ObjectID getTargetOid()

getTargetUri

public URIReference getTargetUri()

parse

public static CommonCriteriaMeasures parse(Properties prop,
                                           String prefix)

toString

public String toString()
Overrides:
toString in class Object