Decodes UTCTime.

no subtypes hierarchy

UTCTimeDecoder(Integer latestYearRepresentable, Tag tag = ...)
  • latestYearRepresentable

    Determines how the two-digit year is interpreted.

    For example, if latestYearRepresentable == 2049, then

    • “50” means 1950,
    • “99” means 1999,
    • “00” means 2000,
    • “49” means 2049.
  • tag = UniversalTag.utcTime
Inherited Attributes
Attributes inherited from: Decoder<Asn1Type>
Attributes inherited from: Object
hash, string
decodeGivenTagAndLengthshared actual [UTCTime, Integer]|DecodingError decodeGivenTagAndLength(Byte[] input, Integer offset, IdentityInfo identityInfo, Integer length, Integer identityOctetsOffset, Integer lengthOctetsOffset, Boolean violatesDer)

Decodes the contents octets part of the encoded value. Implementations must ensure that they use all contents bits and return a DecodingError if not. A DecodingError must also be returned if the input is shorter than indicated by length.

Inherited Methods
Methods inherited from: Decoder<Asn1Type>
Methods inherited from: Object