Package org.apache.harmony.security.x509
Class CRLDistributionPoints
- java.lang.Object
-
- org.apache.harmony.security.x509.ExtensionValue
-
- org.apache.harmony.security.x509.CRLDistributionPoints
-
public final class CRLDistributionPoints extends ExtensionValue
The class encapsulates the ASN.1 DER encoding/decoding work with the CRL Distribution Points which is the part of X.509 Certificate (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):CRLDistributionPoints ::= SEQUENCE SIZE (1..MAX) OF DistributionPoint DistributionPoint ::= SEQUENCE { distributionPoint [0] DistributionPointName OPTIONAL, reasons [1] ReasonFlags OPTIONAL, cRLIssuer [2] GeneralNames OPTIONAL } DistributionPointName ::= CHOICE { fullName [0] GeneralNames, nameRelativeToCRLIssuer [1] RelativeDistinguishedName } ReasonFlags ::= BIT STRING { unused (0), keyCompromise (1), cACompromise (2), affiliationChanged (3), superseded (4), cessationOfOperation (5), certificateHold (6), privilegeWithdrawn (7), aACompromise (8) }
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CRLDistributionPointsdecode(byte[] encoding)voiddumpValue(StringBuilder sb, String prefix)byte[]getEncoded()Returns encoded form of the object.-
Methods inherited from class org.apache.harmony.security.x509.ExtensionValue
dumpValue
-
-
-
-
Field Detail
-
ASN1
public static final ASN1Type ASN1
Custom X.509 decoder.
-
-
Method Detail
-
getEncoded
public byte[] getEncoded()
Description copied from class:ExtensionValueReturns encoded form of the object.- Overrides:
getEncodedin classExtensionValue
-
decode
public static CRLDistributionPoints decode(byte[] encoding) throws IOException
- Throws:
IOException
-
dumpValue
public void dumpValue(StringBuilder sb, String prefix)
- Overrides:
dumpValuein classExtensionValue
-
-