public class Time extends java.lang.Object implements ASN1Type
ChoiceOfTime| Constructor and Description |
|---|
Time()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object obj)
Deprecated.
Decodes an ASN1Object according to the ASN.1 type the class implements.
|
ASN1Object |
getTime()
Deprecated.
|
void |
setTime(GeneralizedTime time)
Deprecated.
|
void |
setTime(UTCTime time)
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 setTime(UTCTime time)
public void setTime(GeneralizedTime time)
public ASN1Object getTime()
public void decode(ASN1Object obj) throws CodingException
ASN1Typedecode in interface ASN1Typeobj - the ASN.1 type as ASN1ObjectCodingException - if the ASN1Object could not be parsed