MgfDigest

data class MgfDigest(val intValue: Asn1Integer) : AuthorizationList.IntEncodable(source)

MGF digest.

Corresponds to the Tag::RSA_OAEP_MGF_DIGEST authorization tag (tag ID 203).

Present in key attestation versions 100, 200, 300, 400 (KeyMint only). The tag number is stored in Tag.explicitTag.

Constructors

Link copied to clipboard
constructor(intValue: Asn1Integer)

Types

Link copied to clipboard
object Tag : AuthorizationList.Tagged, Asn1Decodable<Asn1Primitive, AuthorizationList.MgfDigest>

Properties

Link copied to clipboard
open override 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