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 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 InvalidityDate(byte[] encoding)Constructs the object on the base of its encoded form.InvalidityDate(Date date)Constructs the object from a date instance.
-
Method Summary
All Methods Instance Methods Concrete Methods 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 Detail
-
ASN1
public static final ASN1Type ASN1
ASN.1 Encoder/Decoder.
-
-
Constructor Detail
-
InvalidityDate
public InvalidityDate(byte[] encoding) throws IOExceptionConstructs the object on the base of its encoded form.- Throws:
IOException
-
InvalidityDate
public InvalidityDate(Date date)
Constructs the object from a date instance.
-
-
Method Detail
-
getDate
public Date getDate()
Returns the invalidity date.
-
getEncoded
public byte[] getEncoded()
Returns ASN.1 encoded form of this X.509 InvalidityDate value.- Overrides:
getEncodedin classExtensionValue
-
dumpValue
public void dumpValue(StringBuilder sb, String prefix)
- Overrides:
dumpValuein classExtensionValue
-
-