BerTypepublic class BerGeneralizedTime extends BerVisibleString
| Modifier and Type | Field | Description |
|---|---|---|
static BerTag |
tag |
value| Constructor | Description |
|---|---|
BerGeneralizedTime() |
|
BerGeneralizedTime(byte[] value) |
|
BerGeneralizedTime(java.lang.String valueAsString) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Calendar |
asCalendar() |
|
java.util.Date |
asDate() |
|
int |
decode(java.io.InputStream is,
boolean withTag) |
|
int |
encode(java.io.OutputStream reverseOS,
boolean withTag) |
decode, encode, toStringpublic static final BerTag tag
public BerGeneralizedTime()
public BerGeneralizedTime(byte[] value)
public BerGeneralizedTime(java.lang.String valueAsString)
public int encode(java.io.OutputStream reverseOS,
boolean withTag)
throws java.io.IOException
encode in class BerVisibleStringjava.io.IOExceptionpublic int decode(java.io.InputStream is,
boolean withTag)
throws java.io.IOException
decode in class BerVisibleStringjava.io.IOExceptionpublic java.util.Calendar asCalendar()
throws java.text.ParseException
java.text.ParseExceptionpublic java.util.Date asDate()
throws java.text.ParseException
java.text.ParseException