java.lang.Object
org.openqa.selenium.devtools.v126.webauthn.model.Credential

public class Credential extends Object
  • Constructor Details

  • Method Details

    • getCredentialId

      public String getCredentialId()
    • getIsResidentCredential

      public Boolean getIsResidentCredential()
    • getRpId

      public Optional<String> getRpId()
      Relying Party ID the credential is scoped to. Must be set when adding a credential.
    • getPrivateKey

      public String getPrivateKey()
      The ECDSA P-256 private key in PKCS#8 format.
    • getUserHandle

      public Optional<String> getUserHandle()
      An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user.
    • getSignCount

      public Integer getSignCount()
      Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/#signature-counter
    • getLargeBlob

      public Optional<String> getLargeBlob()
      The large blob associated with the credential. See https://w3c.github.io/webauthn/#sctn-large-blob-extension
    • getBackupEligibility

      public Optional<Boolean> getBackupEligibility()
      Assertions returned by this credential will have the backup eligibility (BE) flag set to this value. Defaults to the authenticator's defaultBackupEligibility value.
    • getBackupState

      public Optional<Boolean> getBackupState()
      Assertions returned by this credential will have the backup state (BS) flag set to this value. Defaults to the authenticator's defaultBackupState value.