public class Validity extends java.lang.Object implements ASN1Type
OptionalValidity| Constructor and Description |
|---|
Validity()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object obj)
Deprecated.
Decodes an ASN1Object according to the ASN.1 type the class implements.
|
Time |
getNotAfter()
Deprecated.
|
Time |
getNotBefore()
Deprecated.
|
void |
setNotAfter(Time notAfter)
Deprecated.
|
void |
setNotBefore(Time notBefore)
Deprecated.
|
ASN1Object |
toASN1Object()
Deprecated.
Creates an ASN1Object according to the ASN.1 type the class implements.
|
public ASN1Object toASN1Object() throws CodingException
ASN1TypetoASN1Object in interface ASN1TypeCodingException - if an de/encoding error occurspublic void setNotBefore(Time notBefore)
public Time getNotBefore()
public void setNotAfter(Time notAfter)
public Time getNotAfter()
public void decode(ASN1Object obj) throws CodingException
ASN1Typedecode in interface ASN1Typeobj - the ASN.1 type as ASN1ObjectCodingException - if the ASN1Object could not be parsed