Skip to content

certifikit / app.cash.certifikit.attestation / RootOfTrust

RootOfTrust

data class RootOfTrust

VerifiedBootState ::= ENUMERATED {
  Verified                   (0),
  SelfSigned                 (1),
  Unverified                 (2),
  Failed                     (3),
}

RootOfTrust ::= SEQUENCE {
  verifiedBootKey            OCTET_STRING,
  deviceLocked               BOOLEAN,
  verifiedBootState          VerifiedBootState,
  verifiedBootHash           OCTET_STRING,
}

Constructors

Name Summary
<init>

``` VerifiedBootState ::= ENUMERATED { Verified (0), SelfSigned (1), Unverified (2), Failed (3), }

RootOfTrust ::= SEQUENCE { verifiedBootKey OCTET_STRING, deviceLocked BOOLEAN, verifiedBootState VerifiedBootState, verifiedBootHash OCTET_STRING, }
`` <br>RootOfTrust(verifiedBootKey: [ByteString](https://square.github.io/okio/2.x/okio/okio/-byte-string/index.html), deviceLocked: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), verifiedBootState: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), verifiedBootHash: [ByteString](https://square.github.io/okio/2.x/okio/okio/-byte-string/index.html))` |

Properties

Name Summary
deviceLocked val deviceLocked:Boolean
verifiedBootHash val verifiedBootHash:ByteString
verifiedBootKey val verifiedBootKey:ByteString
verifiedBootState val verifiedBootState:Long