Class Credential
java.lang.Object
org.openqa.selenium.devtools.v150.webauthn.model.Credential
-
Constructor Summary
ConstructorsConstructorDescriptionCredential(String credentialId, Boolean isResidentCredential, Optional<String> rpId, String privateKey, Optional<String> userHandle, Integer signCount, Optional<String> largeBlob, Optional<Boolean> backupEligibility, Optional<Boolean> backupState, Optional<String> userName, Optional<String> userDisplayName) -
Method Summary
Modifier and TypeMethodDescriptionAssertions returned by this credential will have the backup eligibility (BE) flag set to this value.Assertions returned by this credential will have the backup state (BS) flag set to this value.The large blob associated with the credential.The ECDSA P-256 private key in PKCS#8 format.getRpId()Relying Party ID the credential is scoped to.Signature counter.The credential's user.displayName property.An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user.The credential's user.name property.
-
Constructor Details
-
Credential
public Credential(String credentialId, Boolean isResidentCredential, Optional<String> rpId, String privateKey, Optional<String> userHandle, Integer signCount, Optional<String> largeBlob, Optional<Boolean> backupEligibility, Optional<Boolean> backupState, Optional<String> userName, Optional<String> userDisplayName)
-
-
Method Details
-
getCredentialId
-
getIsResidentCredential
-
getRpId
-
getPrivateKey
The ECDSA P-256 private key in PKCS#8 format. -
getUserHandle
-
getSignCount
Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/#signature-counter -
getLargeBlob
-
getBackupEligibility
-
getBackupState
-
getUserName
-
getUserDisplayName
-