public final class InvalidityDate extends ExtensionValue
id-ce-invalidityDate OBJECT IDENTIFIER ::= { id-ce 24 }
invalidityDate ::= GeneralizedTime
(as specified in RFC 3280 http://www.ietf.org/rfc/rfc3280.txt)| Modifier and Type | Field and Description |
|---|---|
static ASN1Type |
ASN1
ASN.1 Encoder/Decoder.
|
encoding| Constructor and Description |
|---|
InvalidityDate(byte[] encoding)
Constructs the object on the base of its encoded form.
|
InvalidityDate(Date date)
Constructs the object from a date instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpValue(StringBuilder sb,
String prefix) |
Date |
getDate()
Returns the invalidity date.
|
byte[] |
getEncoded()
Returns ASN.1 encoded form of this X.509 InvalidityDate value.
|
dumpValuepublic static final ASN1Type ASN1
public InvalidityDate(byte[] encoding)
throws IOException
IOExceptionpublic InvalidityDate(Date date)
public Date getDate()
public byte[] getEncoded()
getEncoded in class ExtensionValuepublic void dumpValue(StringBuilder sb, String prefix)
dumpValue in class ExtensionValue