public final class PrivateKeyUsagePeriod extends Object
PrivateKeyUsagePeriod ::= SEQUENCE {
notBefore [0] GeneralizedTime OPTIONAL,
notAfter [1] GeneralizedTime OPTIONAL
}
| Modifier and Type | Field and Description |
|---|---|
static ASN1Sequence |
ASN1
ASN.1 DER X.509 PrivateKeyUsagePeriod encoder/decoder class.
|
| Constructor and Description |
|---|
PrivateKeyUsagePeriod(Date notBeforeDate,
Date notAfterDate) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncoded()
Returns ASN.1 encoded form of this X.509 PrivateKeyUsagePeriod 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
public Date getNotBefore()
public Date getNotAfter()
public byte[] getEncoded()