FileDocCategorySizeDatePackage
AttCertValidityPeriod.javaAPI DocAzureus 3.0.3.41287Tue Jun 08 05:12:56 BST 2004org.bouncycastle.asn1.x509

AttCertValidityPeriod

public class AttCertValidityPeriod extends Object implements org.bouncycastle.asn1.DEREncodable

Fields Summary
org.bouncycastle.asn1.DERGeneralizedTime
notBeforeTime
org.bouncycastle.asn1.DERGeneralizedTime
notAfterTime
Constructors Summary
public AttCertValidityPeriod(org.bouncycastle.asn1.ASN1Sequence seq)

        notBeforeTime = (DERGeneralizedTime)seq.getObjectAt(0);
        notAfterTime = (DERGeneralizedTime)seq.getObjectAt(1);
    
Methods Summary
public org.bouncycastle.asn1.DERObjectgetDERObject()
Produce an object suitable for an ASN1OutputStream.
AttCertValidityPeriod ::= SEQUENCE {
notBeforeTime GeneralizedTime,
notAfterTime GeneralizedTime
}

        ASN1EncodableVector  v = new ASN1EncodableVector();

        v.add(notBeforeTime);
        v.add(notAfterTime);

        return new DERSequence(v);
    
public org.bouncycastle.asn1.DERGeneralizedTimegetNotAfterTime()

        return notAfterTime;
    
public org.bouncycastle.asn1.DERGeneralizedTimegetNotBeforeTime()

        return notBeforeTime;