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 Modifier and Type Field Description static ASN1TypeASN1ASN.1 Encoder/Decoder.-
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
All Methods Instance Methods Concrete Methods 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 Detail
-
ASN1
public static final ASN1Type ASN1
ASN.1 Encoder/Decoder.
-
-
Constructor Detail
-
CRLNumber
public CRLNumber(byte[] encoding) throws IOExceptionConstructs the object on the base of its encoded form.- Throws:
IOException
-
-
Method Detail
-
getNumber
public BigInteger getNumber()
Returns the invalidity date.
-
getEncoded
public byte[] getEncoded()
Returns ASN.1 encoded form of this X.509 CRLNumber value.- Overrides:
getEncodedin classExtensionValue
-
dumpValue
public void dumpValue(StringBuilder sb, String prefix)
- Overrides:
dumpValuein classExtensionValue
-
-