Companion
Properties
Functions
Convenience method, directly DER-decoding a byte array to T
Decodes src as DER using this Asn1Decodable.
Exception-free version of decodeFromDer
Exception-free version of Asn1Decodable.decodeFromTlv
Decodes one ASN.1-backed value via DER bytes.
Actual element-specific decoding function. By default, this is invoked after verifyTag
Parses an ASN.1 GENERALIZED TIME value string (YYYYMMDDHHMMSS[.fraction]Z) into an Asn1Time. Unlike invoke from an Instant — which is bounded by nanosecond resolution — this preserves an arbitrary-precision fractional second. Reuses the low-level GENERALIZED TIME string parser.
Constructs a whole-second Asn1Time from an Instant. Sub-second precision is dropped (see SecondsCapped).
Convenience method to directly parse a HEX-string representation of DER-encoded data. Ignores and strips all whitespace.
Specify assertTag for verifying implicitly tagged elements' tags (and better not override this function).