Package org.apache.harmony.security.x509
Class CRLNumber
java.lang.Object
org.apache.harmony.security.x509.ExtensionValue
org.apache.harmony.security.x509.CRLNumber
public final class CRLNumber extends ExtensionValue
CRL Entry's CRL Number Extension (OID = 2.5.29.20).
id-ce-cRLNumber OBJECT IDENTIFIER ::= { id-ce 20 }
CRLNumber ::= INTEGER (0..MAX)
(as specified in RFC 3280 http://www.ietf.org/rfc/rfc3280.txt)-
Field Summary
Fields inherited from class org.apache.harmony.security.x509.ExtensionValue
encoding -
Constructor Summary
Constructors Constructor Description CRLNumber(byte[] encoding)Constructs the object on the base of its encoded form. -
Method Summary
Modifier and Type Method Description voiddumpValue(StringBuilder sb, String prefix)byte[]getEncoded()Returns ASN.1 encoded form of this X.509 CRLNumber value.BigIntegergetNumber()Returns the invalidity date.Methods inherited from class org.apache.harmony.security.x509.ExtensionValue
dumpValue
-
Field Details
-
ASN1
ASN.1 Encoder/Decoder.
-
-
Constructor Details
-
CRLNumber
Constructs the object on the base of its encoded form.- Throws:
IOException
-
-
Method Details
-
getNumber
Returns the invalidity date. -
getEncoded
public byte[] getEncoded()Returns ASN.1 encoded form of this X.509 CRLNumber value.- Overrides:
getEncodedin classExtensionValue
-
dumpValue
- Overrides:
dumpValuein classExtensionValue
-