org.bouncycastle.asn1.x509
Class PrivateKeyUsagePeriod

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Encodable
      extended by org.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
private  DERGeneralizedTime _notAfter
           
private  DERGeneralizedTime _notBefore
           
 
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
private PrivateKeyUsagePeriod(ASN1Sequence seq)
           
 
Method Summary
static PrivateKeyUsagePeriod getInstance(java.lang.Object obj)
           
 DERGeneralizedTime getNotAfter()
           
 DERGeneralizedTime getNotBefore()
           
 DERObject toASN1Object()
           
 
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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 class ASN1Encodable