Package org.mozilla.jss.asn1
Class TimeBase.Template
java.lang.Object
org.mozilla.jss.asn1.TimeBase.Template
- Direct Known Subclasses:
GeneralizedTime.Template
,UTCTime.Template
- Enclosing class:
TimeBase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
checkBounds
(int index, int increment, int bound) private static void
checkRange
(int val, int low, int high, String field) decode
(InputStream istream) decode
(Tag implicitTag, InputStream istream) protected abstract TimeBase
generateInstance
(Date date) protected abstract Tag
getTag()
protected abstract boolean
isUTC()
boolean
-
Constructor Details
-
Template
public Template()
-
-
Method Details
-
isUTC
protected abstract boolean isUTC() -
getTag
-
generateInstance
-
tagMatch
-
decode
- Throws:
IOException
InvalidBERException
-
decode
public ASN1Value decode(Tag implicitTag, InputStream istream) throws IOException, InvalidBERException - Throws:
IOException
InvalidBERException
-
checkRange
- Throws:
InvalidBERException
-
checkBounds
- Throws:
InvalidBERException
-