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.


Constructor Index

 o PolicyInformation(ASN1Object)
Constructs a PolicyInformation from an ASN1Object.
 o PolicyInformation(ObjectID, PolicyQualifierInfo[])
Creates a new PolicyInformation object from a policy id and policy qualifiers.

Method Index

 o toASN1Object()
Returns this PolicyInformation as ASN1Object.
 o toString()
Returns a string that represents the contents of the extensions.

Constructors

 o 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)
 o 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

Methods

 o toASN1Object
 public ASN1Object toASN1Object()
Returns this PolicyInformation as ASN1Object.

Returns:
this PolicyInformation as ASN1Object
 o 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