chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.webauthn / Credential

Credential

data class Credential

Constructors

<init>

Credential(credentialId: String, isResidentCredential: Boolean, rpId: String? = null, privateKey: String, userHandle: String? = null, signCount: Int, largeBlob: String? = null)

Properties

credentialId

val credentialId: String

isResidentCredential

val isResidentCredential: Boolean

largeBlob

The large blob associated with the credential. See https://w3c.github.io/webauthn/#sctn-large-blob-extension

val largeBlob: String?

privateKey

The ECDSA P-256 private key in PKCS#8 format.

val privateKey: String

rpId

Relying Party ID the credential is scoped to. Must be set when adding a credential.

val rpId: String?

signCount

Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/#signature-counter

val signCount: Int

userHandle

An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user.

val userHandle: String?