Package org.bouncycastle.cert
Class Validity
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.cert.Validity
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class Validity
extends org.bouncycastle.asn1.ASN1Object
-
Constructor Summary
ConstructorsConstructorDescriptionValidity(org.bouncycastle.asn1.x509.Time notBefore, org.bouncycastle.asn1.x509.Time notAfter) -
Method Summary
Modifier and TypeMethodDescriptionstatic ValiditygetInstance(Object obj) static ValiditygetInstance(org.bouncycastle.asn1.ASN1TaggedObject taggedObject, boolean declaredExplicit) org.bouncycastle.asn1.x509.Timeorg.bouncycastle.asn1.x509.Timeorg.bouncycastle.asn1.ASN1PrimitiveValidity ::= SEQUENCE { notBefore Time, notAfter Time }Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
Validity
public Validity(org.bouncycastle.asn1.x509.Time notBefore, org.bouncycastle.asn1.x509.Time notAfter)
-
-
Method Details
-
getInstance
-
getInstance
public static Validity getInstance(org.bouncycastle.asn1.ASN1TaggedObject taggedObject, boolean declaredExplicit) -
getNotBefore
public org.bouncycastle.asn1.x509.Time getNotBefore() -
getNotAfter
public org.bouncycastle.asn1.x509.Time getNotAfter() -
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()Validity ::= SEQUENCE { notBefore Time, notAfter Time }- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-