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, toStringpublic 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 BerVisibleStringIOExceptionpublic int decode(InputStream is, boolean withTag) throws IOException
decode in class BerVisibleStringIOExceptionpublic Calendar asCalendar() throws ParseException
ParseExceptionpublic Date asDate() throws ParseException
ParseException