org.bouncycastle.asn1.x509

Class AttCertValidityPeriod

public class AttCertValidityPeriod extends ASN1Encodable

Constructor Summary
AttCertValidityPeriod(ASN1Sequence seq)
AttCertValidityPeriod(DERGeneralizedTime notBeforeTime, DERGeneralizedTime notAfterTime)
Method Summary
static AttCertValidityPeriodgetInstance(Object obj)
DERGeneralizedTimegetNotAfterTime()
DERGeneralizedTimegetNotBeforeTime()
DERObjecttoASN1Object()
Produce an object suitable for an ASN1OutputStream.

Constructor Detail

AttCertValidityPeriod

public AttCertValidityPeriod(ASN1Sequence seq)

AttCertValidityPeriod

public AttCertValidityPeriod(DERGeneralizedTime notBeforeTime, DERGeneralizedTime notAfterTime)

Parameters: notBeforeTime notAfterTime

Method Detail

getInstance

public static AttCertValidityPeriod getInstance(Object obj)

getNotAfterTime

public DERGeneralizedTime getNotAfterTime()

getNotBeforeTime

public DERGeneralizedTime getNotBeforeTime()

toASN1Object

public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
  AttCertValidityPeriod  ::= SEQUENCE {
       notBeforeTime  GeneralizedTime,
       notAfterTime   GeneralizedTime
  }