public class FidoAuthenticationCallback extends java.lang.Object implements MysqlCallback
Constructor and Description |
---|
FidoAuthenticationCallback(byte[] scramble,
java.lang.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.
|
java.lang.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.
|
public FidoAuthenticationCallback(byte[] scramble, java.lang.String relyingPartyId, byte[] credentialId)
scramble
- relyingPartyId
- credentialId
- public byte[] getScramble()
public java.lang.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()