Top Fields Constructors Methods
org.bouncycastle.asn1.x509

public Class Validity

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence

Field Summary

Modifier and TypeField and Description
private final Time
private final Time

Constructor Summary

AccessConstructor and Description
private
public
Validity(Time notBefore, Time notAfter)

Method Summary

Modifier and TypeMethod and Description
public static Validity
public static Validity
getInstance(ASN1TaggedObject taggedObject, boolean declaredExplicit)

public Time
public Time
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Validity ::= SEQUENCE {
  notBefore      Time,
  notAfter       Time  }
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

notAfterback to summary
private final Time notAfter
notBeforeback to summary
private final Time notBefore

Constructor Detail

Validityback to summary
private Validity(ASN1Sequence seq)
Validityback to summary
public Validity(Time notBefore, Time notAfter)

Method Detail

getInstanceback to summary
public static Validity getInstance(Object obj)
getInstanceback to summary
public static Validity getInstance(ASN1TaggedObject taggedObject, boolean declaredExplicit)
getNotAfterback to summary
public Time getNotAfter()
getNotBeforeback to summary
public Time getNotBefore()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Validity ::= SEQUENCE {
  notBefore      Time,
  notAfter       Time  }
Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.