Package org.bouncycastle.asn1.x509
Class AttCertValidityPeriod
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.x509.AttCertValidityPeriod
-
- All Implemented Interfaces:
ASN1Encodable
,Encodable
public class AttCertValidityPeriod extends ASN1Object
-
-
Constructor Summary
Constructors Constructor Description AttCertValidityPeriod(ASN1GeneralizedTime notBeforeTime, ASN1GeneralizedTime notAfterTime)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttCertValidityPeriod
getInstance(java.lang.Object obj)
ASN1GeneralizedTime
getNotAfterTime()
ASN1GeneralizedTime
getNotBeforeTime()
ASN1Primitive
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
Constructor Detail
-
AttCertValidityPeriod
public AttCertValidityPeriod(ASN1GeneralizedTime notBeforeTime, ASN1GeneralizedTime notAfterTime)
- Parameters:
notBeforeTime
-notAfterTime
-
-
-
Method Detail
-
getInstance
public static AttCertValidityPeriod getInstance(java.lang.Object obj)
-
getNotBeforeTime
public ASN1GeneralizedTime getNotBeforeTime()
-
getNotAfterTime
public ASN1GeneralizedTime getNotAfterTime()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.AttCertValidityPeriod ::= SEQUENCE { notBeforeTime GeneralizedTime, notAfterTime GeneralizedTime }
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-
-