Package org.gudy.bouncycastle.asn1.x509
Class AttCertValidityPeriod
- java.lang.Object
-
- org.gudy.bouncycastle.asn1.ASN1Encodable
-
- org.gudy.bouncycastle.asn1.x509.AttCertValidityPeriod
-
- All Implemented Interfaces:
DEREncodable
public class AttCertValidityPeriod extends ASN1Encodable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) DERGeneralizedTime
notAfterTime
(package private) DERGeneralizedTime
notBeforeTime
-
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
-
Constructor Summary
Constructors Constructor Description AttCertValidityPeriod(ASN1Sequence seq)
AttCertValidityPeriod(DERGeneralizedTime notBeforeTime, DERGeneralizedTime notAfterTime)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttCertValidityPeriod
getInstance(java.lang.Object obj)
DERGeneralizedTime
getNotAfterTime()
DERGeneralizedTime
getNotBeforeTime()
DERObject
toASN1Object()
Produce an object suitable for an ASN1OutputStream.-
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
-
-
-
Field Detail
-
notBeforeTime
DERGeneralizedTime notBeforeTime
-
notAfterTime
DERGeneralizedTime notAfterTime
-
-
Constructor Detail
-
AttCertValidityPeriod
public AttCertValidityPeriod(ASN1Sequence seq)
-
AttCertValidityPeriod
public AttCertValidityPeriod(DERGeneralizedTime notBeforeTime, DERGeneralizedTime notAfterTime)
- Parameters:
notBeforeTime
-notAfterTime
-
-
-
Method Detail
-
getInstance
public static AttCertValidityPeriod getInstance(java.lang.Object obj)
-
getNotBeforeTime
public DERGeneralizedTime getNotBeforeTime()
-
getNotAfterTime
public DERGeneralizedTime getNotAfterTime()
-
toASN1Object
public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.AttCertValidityPeriod ::= SEQUENCE { notBeforeTime GeneralizedTime, notAfterTime GeneralizedTime }
- Specified by:
toASN1Object
in classASN1Encodable
-
-