public final class Validity extends Object
Validity ::= SEQUENCE {
notBefore Time,
notAfter Time
}
| Modifier and Type | Field and Description |
|---|---|
static ASN1Sequence |
ASN1
ASN.1 DER X.509 Validity encoder/decoder class.
|
| Constructor and Description |
|---|
Validity(Date notBefore,
Date notAfter) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncoded()
Returns ASN.1 encoded form of this X.509 Validity value.
|
Date |
getNotAfter()
Returns the value of notAfter field of the structure.
|
Date |
getNotBefore()
Returns the value of notBefore field of the structure.
|
public static final ASN1Sequence ASN1