Package org.apache.harmony.security.x509
Class InvalidityDate
java.lang.Object
org.apache.harmony.security.x509.ExtensionValue
org.apache.harmony.security.x509.InvalidityDate
public final class InvalidityDate extends ExtensionValue
CRL Entry's Invalidity Date Extension (OID = 2.5.29.24).
id-ce-invalidityDate OBJECT IDENTIFIER ::= { id-ce 24 }
invalidityDate ::= GeneralizedTime
(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 InvalidityDate(byte[] encoding)Constructs the object on the base of its encoded form. -
Method Summary
Modifier and Type Method Description voiddumpValue(StringBuilder sb, String prefix)DategetDate()Returns the invalidity date.byte[]getEncoded()Returns ASN.1 encoded form of this X.509 InvalidityDate value.Methods inherited from class org.apache.harmony.security.x509.ExtensionValue
dumpValue
-
Field Details
-
ASN1
ASN.1 Encoder/Decoder.
-
-
Constructor Details
-
InvalidityDate
Constructs the object on the base of its encoded form.- Throws:
IOException
-
-
Method Details
-
getDate
Returns the invalidity date. -
getEncoded
public byte[] getEncoded()Returns ASN.1 encoded form of this X.509 InvalidityDate value.- Overrides:
getEncodedin classExtensionValue
-
dumpValue
- Overrides:
dumpValuein classExtensionValue
-