All Packages Class Hierarchy This Package Previous Next Index
Class iaik.asn1.structures.PolicyInformation
java.lang.Object
|
+----iaik.asn1.structures.PolicyInformation
- public class PolicyInformation
- extends Object
This class implements the ASN.1 type PolicyInformation.
More information can be found in draft-ietf-pkix-ipki-part1-05.txt
section 4.2.1.5 Certificate Policies.
-
PolicyInformation(ASN1Object)
- Constructs a PolicyInformation from an ASN1Object.
-
PolicyInformation(ObjectID, PolicyQualifierInfo[])
- Creates a new PolicyInformation object from a policy id and policy qualifiers.
-
toASN1Object()
- Returns this PolicyInformation as ASN1Object.
-
toString()
- Returns a string that represents the contents of the extensions.
PolicyInformation
public PolicyInformation(ObjectID policyIdentifier,
PolicyQualifierInfo policyQualifiers[])
- Creates a new PolicyInformation object from a policy id and policy qualifiers.
- Parameters:
- policyIdentifier - the id of the policy
- policyQualifiers - zero ore more qualifiers (can be null)
PolicyInformation
public PolicyInformation(ASN1Object policyInformation) throws CodingException
- Constructs a PolicyInformation from an ASN1Object.
- Parameters:
- policyInformation - the PolicyInformation as ASN1Object
- Throws: CodingException
- if the ASN1Object is not a PolicyInformation
toASN1Object
public ASN1Object toASN1Object()
- Returns this PolicyInformation as ASN1Object.
- Returns:
- this PolicyInformation as ASN1Object
toString
public String toString()
- Returns a string that represents the contents of the extensions.
- Returns:
- the string representation
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index