org.bouncycastle.asn1.x509

Class AttCertValidityPeriod

Implemented Interfaces:
DEREncodable

public class AttCertValidityPeriod
extends ASN1Encodable

Constructor Summary

AttCertValidityPeriod(ASN1Sequence seq)
AttCertValidityPeriod(DERGeneralizedTime notBeforeTime, DERGeneralizedTime notAfterTime)

Method Summary

static AttCertValidityPeriod
getInstance(Object obj)
DERGeneralizedTime
getNotAfterTime()
DERGeneralizedTime
getNotBeforeTime()
DERObject
toASN1Object()
Produce an object suitable for an ASN1OutputStream.

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDERObject, getEncoded, hashCode, toASN1Object

Constructor Details

AttCertValidityPeriod

public AttCertValidityPeriod(ASN1Sequence seq)


AttCertValidityPeriod

public AttCertValidityPeriod(DERGeneralizedTime notBeforeTime,
                             DERGeneralizedTime notAfterTime)

Parameters:
notBeforeTime -
notAfterTime -

Method Details

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
  } 
 
Overrides:
toASN1Object in interface ASN1Encodable