Class OptionalValidity

  • All Implemented Interfaces:
    org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

    public class OptionalValidity
    extends org.bouncycastle.asn1.ASN1Object
    • Constructor Detail

      • OptionalValidity

        public OptionalValidity​(org.bouncycastle.asn1.x509.Time notBefore,
                                org.bouncycastle.asn1.x509.Time notAfter)
    • Method Detail

      • getNotBefore

        public org.bouncycastle.asn1.x509.Time getNotBefore()
      • getNotAfter

        public org.bouncycastle.asn1.x509.Time getNotAfter()
      • toASN1Primitive

        public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
         OptionalValidity ::= SEQUENCE {
                                notBefore  [0] Time OPTIONAL,
                                notAfter   [1] Time OPTIONAL } --at least one MUST be present
         
        Specified by:
        toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
        Specified by:
        toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
        Returns:
        a basic ASN.1 object representation.