BerType
public 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, toString
public 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 BerVisibleString
java.io.IOException
public int decode(java.io.InputStream is, boolean withTag) throws java.io.IOException
decode
in class BerVisibleString
java.io.IOException
public java.util.Calendar asCalendar() throws java.text.ParseException
java.text.ParseException
public java.util.Date asDate() throws java.text.ParseException
java.text.ParseException