PatchLevel

Patch level value family.

Encoded as either:

  • YYYYMM (no day), or

  • YYYYMMDD (some devices include an extra day value).

Note: Some OEMs (and legacy parsers) are lenient about the presence/format of the day component.

Inheritors

Types

Link copied to clipboard
class Boot(year: UShort, month: Month, day: UShort?) : AuthorizationList.PatchLevel

Boot patch level.

Link copied to clipboard
object Companion
Link copied to clipboard
class Vendor(year: UShort, month: Month, day: UShort?) : AuthorizationList.PatchLevel

Vendor patch level.

Properties

Link copied to clipboard
val day: UShort?
Link copied to clipboard
open override val intValue: Asn1Integer.Positive
Link copied to clipboard
val month: Month
Link copied to clipboard
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
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
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