| java.lang.Object | |
| ↳ | sun.security.x509.PolicyInformation |
PolicyInformation is the class that contains a specific certificate policy that is part of the CertificatePoliciesExtension. A CertificatePolicyExtension value consists of a vector of these objects.
The ASN.1 syntax for PolicyInformation (IMPLICIT tagging is defined in the module definition):
PolicyInformation ::= SEQUENCE {
policyIdentifier CertPolicyId,
policyQualifiers SEQUENCE SIZE (1..MAX) OF
PolicyQualifierInfo OPTIONAL }
CertPolicyId ::= OBJECT IDENTIFIER
PolicyQualifierInfo ::= SEQUENCE {
policyQualifierId PolicyQualifierId,
qualifier ANY DEFINED BY policyQualifierId }
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | ID | ||||||||||
| String | NAME | ||||||||||
| String | QUALIFIERS | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create an instance of PolicyInformation
| |||||||||||
Create an instance of PolicyInformation, decoding from
the passed DerValue.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Delete the attribute value.
| |||||||||||
Write the PolicyInformation to the DerOutputStream.
| |||||||||||
Compare this PolicyInformation with another object for equality
| |||||||||||
Get the attribute value.
| |||||||||||
Return an enumeration of names of attributes existing within this
attribute.
| |||||||||||
Return the name of this attribute.
| |||||||||||
Return the policyIdentifier value
| |||||||||||
Return the policyQualifiers value
| |||||||||||
Returns the hash code for this PolicyInformation.
| |||||||||||
Set the attribute value.
| |||||||||||
Return a printable representation of the PolicyInformation.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create an instance of PolicyInformation
| policyIdentifier | the policyIdentifier as a CertificatePolicyId |
|---|---|
| policyQualifiers | a Set of PolicyQualifierInfo objects. Must not be NULL. Specify an empty Set for no qualifiers. |
| IOException | on decoding errors. |
|---|
Create an instance of PolicyInformation, decoding from the passed DerValue.
| val | the DerValue to construct the PolicyInformation from. |
|---|
| IOException | on decoding errors. |
|---|
Write the PolicyInformation to the DerOutputStream.
| out | the DerOutputStream to write the extension to. |
|---|
| IOException | on encoding errors. |
|---|
Compare this PolicyInformation with another object for equality
| other | object to be compared with this |
|---|
Return an enumeration of names of attributes existing within this attribute.
Return the policyIdentifier value
Return the policyQualifiers value
Returns the hash code for this PolicyInformation.
Return a printable representation of the PolicyInformation.