public class BerGeneralizedTime extends BerVisibleString
Modifier and Type | Field and Description |
---|---|
static BerTag |
tag |
value
Constructor and Description |
---|
BerGeneralizedTime() |
BerGeneralizedTime(byte[] value) |
BerGeneralizedTime(String valueAsString) |
Modifier and Type | Method and Description |
---|---|
Calendar |
asCalendar() |
Date |
asDate() |
int |
decode(InputStream is,
boolean withTag) |
int |
encode(OutputStream reverseOS,
boolean withTag) |
decode, encode, toString
public static final BerTag tag
public BerGeneralizedTime()
public BerGeneralizedTime(byte[] value)
public BerGeneralizedTime(String valueAsString)
public int encode(OutputStream reverseOS, boolean withTag) throws IOException
encode
in class BerVisibleString
IOException
public int decode(InputStream is, boolean withTag) throws IOException
decode
in class BerVisibleString
IOException
public Calendar asCalendar() throws ParseException
ParseException
public Date asDate() throws ParseException
ParseException