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
Constructs a generalized ASN.1 BIT STRING containing the specified bytes.
Constructs a generalized ASN.1 BIT STRING from its logical byte content. The string's length is bytes.size / 8 - numPaddingBits. bytes is copied. If numPaddingBits is specified, the trailing bits must already be zeroed out in bytes.
Convenience method to directly parse a HEX-string representation of DER-encoded data. Ignores and strips all whitespace.
Encodes one ASN.1-backed value via DER bytes.
Specify assertTag for verifying implicitly tagged elements' tags (and better not override this function).