All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iaik.asn1.structures.PolicyQualifierInfo

java.lang.Object
   |
   +----iaik.asn1.structures.PolicyQualifierInfo

public class PolicyQualifierInfo
extends Object
This class implements the ASN.1 type PolicyQualifierInfo. More information can be found in draft-ietf-pkix-ipki-part1-05.txt section 4.2.1.5 Certificate Policies.


Constructor Index

 o PolicyQualifierInfo(ASN1Object)
Constructs a PolicyQualifierInfo from an ASN1Object.
 o PolicyQualifierInfo(String)
Creates a new PolicyQualifierInfo from a CPS.
 o PolicyQualifierInfo(String, int[], String)
Creates a new PolicyQualifierInfo from a notice reference information and/or an explicit text.

Method Index

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

Constructors

 o PolicyQualifierInfo
 public PolicyQualifierInfo(String CpsUri)
Creates a new PolicyQualifierInfo from a CPS. The CPS Pointer qualifier contains a pointer to a Certification Practice Statement (CPS)published by the CA. The pointer is in the form of an URI.

Parameters:
CpsUri - the pointer as URI
 o PolicyQualifierInfo
 public PolicyQualifierInfo(String organization,
                            int noticeNumbers[],
                            String explicitText)
Creates a new PolicyQualifierInfo from a notice reference information and/or an explicit text. An explicitText field includes the textual statement directly in the certificate. The explicitText field is a string with a maximum size of 200 characters.

Parameters:
organization - the organization [or null if not needed; sets noticeNumbers also to null]
noticeNumbers - notice numbers [or null if not needed; sets organization also to null]
explicitText - the textual statement or null if not needed
 o PolicyQualifierInfo
 public PolicyQualifierInfo(ASN1Object policyQualifierInfo) throws CodingException
Constructs a PolicyQualifierInfo from an ASN1Object.

Parameters:
policyQualifierInfo - the PolicyQualifierInfo 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