ASN1Value
GeneralizedTime
, UTCTime
public abstract class TimeBase extends java.lang.Object implements ASN1Value
Modifier and Type | Class | Description |
---|---|---|
static class |
TimeBase.Template |
Constructor | Description |
---|---|
TimeBase(java.util.Date date) |
Modifier and Type | Method | Description |
---|---|---|
void |
encode(java.io.OutputStream ostream) |
Write this value's DER encoding to an output stream using
its own base tag.
|
void |
encode(Tag implicit,
java.io.OutputStream ostream) |
Write the DER-encoding of this TimeBase.
|
abstract Tag |
getTag() |
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
protected abstract boolean |
isUTC() |
|
java.util.Date |
toDate() |
public static final Form FORM
public abstract Tag getTag()
ASN1Value
public java.util.Date toDate()
protected abstract boolean isUTC()
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value