public class OptionalValidity
extends org.bouncycastle.asn1.ASN1Object
Constructor and Description |
---|
OptionalValidity(org.bouncycastle.asn1.x509.Time notBefore,
org.bouncycastle.asn1.x509.Time notAfter) |
Modifier and Type | Method and Description |
---|---|
static OptionalValidity |
getInstance(java.lang.Object o) |
org.bouncycastle.asn1.x509.Time |
getNotAfter() |
org.bouncycastle.asn1.x509.Time |
getNotBefore() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
OptionalValidity ::= SEQUENCE {
notBefore [0] Time OPTIONAL,
notAfter [1] Time OPTIONAL } --at least one MUST be present
|
public OptionalValidity(org.bouncycastle.asn1.x509.Time notBefore, org.bouncycastle.asn1.x509.Time notAfter)
public static OptionalValidity getInstance(java.lang.Object o)
public org.bouncycastle.asn1.x509.Time getNotBefore()
public org.bouncycastle.asn1.x509.Time getNotAfter()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
OptionalValidity ::= SEQUENCE { notBefore [0] Time OPTIONAL, notAfter [1] Time OPTIONAL } --at least one MUST be present
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object