public class FidoAuthenticationCallback extends Object implements MysqlCallback
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
authenticatorData |
private byte[] |
credentialId |
private String |
relyingPartyId |
private byte[] |
scramble |
private byte[] |
signature |
| Constructor and Description |
|---|
FidoAuthenticationCallback(byte[] scramble,
String relyingPartyId,
byte[] credentialId)
Instances of this object are used to exchange FIDO data between the client application and the driver and is responsible for managing all the
interactions with the FIDO authenticator devices.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAuthenticatorData()
Returns the FIDO Authenticator Data produced by the authenticator interaction.
|
byte[] |
getCredentialId()
Returns the FIDO Credential ID for the coming authenticator interaction.
|
String |
getRelyingPartyId()
Returns the FIDO Relying Party ID for the coming authenticator interaction.
|
byte[] |
getScramble()
Returns the FIDO Client Data Hash (scramble) for the coming authenticator interaction.
|
byte[] |
getSignature()
Returns the FIDO Signature produced by the authenticator interaction
|
void |
setAuthenticatorData(byte[] authenticatorData)
Sets the FIDO Authenticator Data produced by the authenticator interaction.
|
void |
setSignature(byte[] signature)
Sets the FIDO Signature produced by the authenticator interaction.
|
private byte[] scramble
private String relyingPartyId
private byte[] credentialId
private byte[] authenticatorData
private byte[] signature
public FidoAuthenticationCallback(byte[] scramble,
String relyingPartyId,
byte[] credentialId)
scramble - the scramblerelyingPartyId - the relying party idcredentialId - the credential idpublic byte[] getScramble()
public String getRelyingPartyId()
public byte[] getCredentialId()
public void setAuthenticatorData(byte[] authenticatorData)
authenticatorData - the authenticator datapublic byte[] getAuthenticatorData()
public void setSignature(byte[] signature)
signature - the signaturepublic byte[] getSignature()