Class Credential
java.lang.Object
org.openqa.selenium.virtualauthenticator.Credential
A credential stored in a virtual authenticator.
- See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic CredentialcreateNonResidentCredential(byte[] id, String rpId, PKCS8EncodedKeySpec privateKey, int signCount) Creates a non resident (i.e.static CredentialcreateResidentCredential(byte[] id, String rpId, PKCS8EncodedKeySpec privateKey, byte[] userHandle, int signCount) Creates a resident (i.e.static CredentialCreates a credential from a map.byte[]getId()@Nullable StringgetRpId()intbyte @Nullable []booleantoMap() 
- 
Method Details
- 
createNonResidentCredential
public static Credential createNonResidentCredential(byte[] id, String rpId, PKCS8EncodedKeySpec privateKey, int signCount) Creates a non resident (i.e. stateless) credential. - 
createResidentCredential
public static Credential createResidentCredential(byte[] id, String rpId, PKCS8EncodedKeySpec privateKey, byte[] userHandle, int signCount) Creates a resident (i.e. stateful) credential. - 
fromMap
Creates a credential from a map. - 
getId
public byte[] getId() - 
isResidentCredential
public boolean isResidentCredential() - 
getRpId
 - 
getPrivateKey
 - 
getUserHandle
public byte @Nullable [] getUserHandle() - 
getSignCount
public int getSignCount() - 
toMap
 
 -