Package org.gudy.bouncycastle.asn1.x509
Class PrivateKeyUsagePeriod
- java.lang.Object
-
- org.gudy.bouncycastle.asn1.ASN1Encodable
-
- org.gudy.bouncycastle.asn1.x509.PrivateKeyUsagePeriod
-
- All Implemented Interfaces:
DEREncodable
public class PrivateKeyUsagePeriod extends ASN1Encodable
PrivateKeyUsagePeriod ::= SEQUENCE { notBefore [0] GeneralizedTime OPTIONAL, notAfter [1] GeneralizedTime OPTIONAL }
-
-
Field Summary
Fields Modifier and Type Field Description private DERGeneralizedTime
_notAfter
private DERGeneralizedTime
_notBefore
-
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PrivateKeyUsagePeriod(ASN1Sequence seq)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrivateKeyUsagePeriod
getInstance(java.lang.Object obj)
DERGeneralizedTime
getNotAfter()
DERGeneralizedTime
getNotBefore()
DERObject
toASN1Object()
-
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
-
-
-
Field Detail
-
_notBefore
private DERGeneralizedTime _notBefore
-
_notAfter
private DERGeneralizedTime _notAfter
-
-
Constructor Detail
-
PrivateKeyUsagePeriod
private PrivateKeyUsagePeriod(ASN1Sequence seq)
-
-
Method Detail
-
getInstance
public static PrivateKeyUsagePeriod getInstance(java.lang.Object obj)
-
getNotBefore
public DERGeneralizedTime getNotBefore()
-
getNotAfter
public DERGeneralizedTime getNotAfter()
-
toASN1Object
public DERObject toASN1Object()
- Specified by:
toASN1Object
in classASN1Encodable
-
-