Top Fields Constructors Methods
org.bouncycastle.asn1.crmf

public Class OptionalValidity

extends ASN1Object
Class Inheritance
Imports
java.util.Enumeration, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence, .DERTaggedObject, org.bouncycastle.asn1.x509.Time

Field Summary

Modifier and TypeField and Description
private Time
private Time

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static OptionalValidity
public Time
public Time
public ASN1Primitive

Returns:

a basic ASN.1 object representation.
toASN1Primitive
()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

OptionalValidity ::= SEQUENCE {
                       notBefore  [0] Time OPTIONAL,
                       notAfter   [1] Time OPTIONAL } --at least one MUST be present
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

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

Constructor Detail

OptionalValidityback to summary
private OptionalValidity(ASN1Sequence seq)
OptionalValidityback to summary
public OptionalValidity(Time notBefore, Time notAfter)

Method Detail

getInstanceback to summary
public static OptionalValidity getInstance(Object o)
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.

OptionalValidity ::= SEQUENCE {
                       notBefore  [0] Time OPTIONAL,
                       notAfter   [1] Time OPTIONAL } --at least one MUST be present
Returns:ASN1Primitive

a basic ASN.1 object representation.