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.
-
PolicyQualifierInfo(ASN1Object)
- Constructs a PolicyQualifierInfo from an ASN1Object.
-
PolicyQualifierInfo(String)
- Creates a new PolicyQualifierInfo from a CPS.
-
PolicyQualifierInfo(String, int[], String)
- Creates a new PolicyQualifierInfo from a notice reference information
and/or an explicit text.
-
toASN1Object()
- Returns this PolicyInformation as ASN1Object.
-
toString()
- Returns a string that represents the contents of the extensions.
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
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
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
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