AttestationValue

sealed class AttestationValue<out A : Asn1Encodable<*>> : AuthorizationList.Tagged.WithTag<Asn1Element> , PrettyPrintable(source)

Either type containing:

Parameters

T

the type of the parsed Asn1Encodable

See also

Asn1Element

Inheritors

Types

Link copied to clipboard
class Failure<E : Asn1Element> : AttestationValue<Asn1Encodable<*>>
Link copied to clipboard
class Success<out T : Asn1Encodable<*>> : AttestationValue<T>

Properties

Link copied to clipboard
open override val tagged: AuthorizationList.Tagged

Functions

Link copied to clipboard
abstract fun doPrettyPrint(indent: String): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun encodeToDerSafe(): KmmResult<ByteArray>
Link copied to clipboard
abstract fun encodeToTlv(): Asn1Element
Link copied to clipboard
open fun encodeToTlvOrNull(): Asn1Element?
Link copied to clipboard
open fun encodeToTlvSafe(): KmmResult<Asn1Element>
Link copied to clipboard
inline fun fold(onSuccess: (A) -> Unit, onFailure: (String, AuthorizationList.Tagged, Asn1Element) -> Unit)
Link copied to clipboard
inline fun get(): A
Link copied to clipboard
Link copied to clipboard
inline fun <R> onFailure(onFailure: (String, AuthorizationList.Tagged, Asn1Element) -> R): R?
Link copied to clipboard
inline fun <R> onSuccess(onSuccess: (A) -> R): R?
Link copied to clipboard
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