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)
}
-
Field Summary
-
Method Summary
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 Details
-
ASN1
Custom X.509 decoder.
-
-
Method Details
-
getEncoded
public byte[] getEncoded()Description copied from class:ExtensionValueReturns encoded form of the object.- Overrides:
getEncodedin classExtensionValue
-
decode
- Throws:
IOException
-
dumpValue
- Overrides:
dumpValuein classExtensionValue
-