Package org.apache.harmony.security.x509
Class PolicyInformation
java.lang.Object
org.apache.harmony.security.x509.PolicyInformation
public final class PolicyInformation extends Object
The class encapsulates the ASN.1 DER encoding/decoding work
with PolicyInformation structure which is a subpart of certificatePolicies
(as specified in RFC 3280 -
Internet X.509 Public Key Infrastructure.
Certificate and Certificate Revocation List (CRL) Profile.
http://www.ietf.org/rfc/rfc3280.txt):
PolicyInformation ::= SEQUENCE {
policyIdentifier CertPolicyId,
policyQualifiers SEQUENCE SIZE (1..MAX) OF
PolicyQualifierInfo OPTIONAL
}
TODO: This class is not fully implemented, implemented only work
with OIDs.-
Field Summary
Fields Modifier and Type Field Description static ASN1SequenceASN1ASN.1 DER X.509 PolicyInformation encoder/decoder class. -
Constructor Summary
Constructors Constructor Description PolicyInformation(String policyIdentifier) -
Method Summary
Modifier and Type Method Description voiddumpValue(StringBuilder sb)byte[]getEncoded()Returns ASN.1 encoded form of this X.509 PolicyInformation value.StringgetPolicyIdentifier()Returns the value of policyIdentifier field of the structure.
-
Field Details
-
ASN1
ASN.1 DER X.509 PolicyInformation encoder/decoder class.
-
-
Constructor Details
-
PolicyInformation
-
-
Method Details
-
getPolicyIdentifier
Returns the value of policyIdentifier field of the structure. -
getEncoded
public byte[] getEncoded()Returns ASN.1 encoded form of this X.509 PolicyInformation value. -
dumpValue
-