IntEncodable

interface IntEncodable : Asn1Encodable<Asn1Primitive> , AuthorizationList.Tagged.WithTag<Asn1Primitive> (source)

Helper interface for “integer-backed” authorization list values.

Implementations encode to an ASN.1 INTEGER primitive and are also Tagged.WithTag so they can be wrapped into the correct explicit tag during encoding of AuthorizationList.

Inheritors

Properties

Link copied to clipboard
abstract val intValue: Asn1Integer
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun encodeToDerSafe(): KmmResult<ByteArray>
Link copied to clipboard
open override fun encodeToTlv(): Asn1Primitive
Link copied to clipboard
open fun encodeToTlvOrNull(): Asn1Primitive?
Link copied to clipboard
open fun encodeToTlvSafe(): KmmResult<Asn1Primitive>
Link copied to clipboard
Link copied to clipboard
open infix fun withImplicitTag(tag: Asn1Element.Tag): Asn1Element
open infix fun withImplicitTag(template: Asn1Element.Tag.Template): Asn1Element
open infix fun withImplicitTag(tagValue: ULong): Asn1Element