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 }
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| private CertificatePolicyId | |
| private Set | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | PolicyInformation(CertificatePolicyId
the policyIdentifier as a
CertificatePolicyId policyIdentifier, Set<PolicyQualifierInfo> a Set of PolicyQualifierInfo objects.
Must not be NULL. Specify an empty Set for no qualifiers. policyQualifiers)Create an instance of PolicyInformation |
| public | PolicyInformation(DerValue
the DerValue to construct the PolicyInformation from. val)Create an instance of PolicyInformation, decoding from the passed DerValue. |
| Modifier and Type | Method and Description |
|---|---|
| public void | encode(DerOutputStream
the DerOutputStream to write the extension to. out)Implements sun. Write the PolicyInformation to the DerOutputStream. |
| public boolean | Returns: true iff the PolicyInformation objects matchobject to be compared with this obj)Overrides java. Compare this PolicyInformation with another object for equality |
| public CertificatePolicyId | Returns: The CertificatePolicyId object containing the policyIdentifier (not a copy).Return the policyIdentifier value |
| public Set | Returns: a Set of PolicyQualifierInfo objects associated with this certificate policy (not a copy). Returns an empty Set if there are no qualifiers. Never returns null.Return the policyQualifiers value |
| public int | Returns: the hash code for this PolicyInformationOverrides java. Returns the hash code for this PolicyInformation. |
| public String | toString()
Overrides java. Return a printable representation of the PolicyInformation. |
| ID | back to summary |
|---|---|
| public static final String ID | |
| NAME | back to summary |
|---|---|
| public static final String NAME | |
| policyIdentifier | back to summary |
|---|---|
| private CertificatePolicyId policyIdentifier | |
| policyQualifiers | back to summary |
|---|---|
| private Set<PolicyQualifierInfo> policyQualifiers | |
| QUALIFIERS | back to summary |
|---|---|
| public static final String QUALIFIERS | |
| PolicyInformation | back to summary |
|---|---|
| public PolicyInformation(CertificatePolicyId policyIdentifier, Set<PolicyQualifierInfo> policyQualifiers) throws IOException Create an instance of PolicyInformation
| |
| PolicyInformation | back to summary |
|---|---|
| public PolicyInformation(DerValue val) throws IOException Create an instance of PolicyInformation, decoding from the passed DerValue.
| |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out) Implements sun. Write the PolicyInformation to the DerOutputStream.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Compare this PolicyInformation with another object for equality | |
| getPolicyIdentifier | back to summary |
|---|---|
| public CertificatePolicyId getPolicyIdentifier() Return the policyIdentifier value
| |
| getPolicyQualifiers | back to summary |
|---|---|
| public Set Return the policyQualifiers value
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hash code for this PolicyInformation.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a printable representation of the PolicyInformation. | |