Skip navigation links
  • Module
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    com.webauthn4j.anchor.KeyStoreTrustAnchorRepository(Path, String)
    use KeyStoreTrustAnchorRepository.createFromKeyStoreFilePath(Path, String) instead
  • Deprecated Interfaces
    Interface
    Description
    com.webauthn4j.authenticator.Authenticator
    Authenticator is deprecated since WebAuthn Level3 added new fields to the credential record. To represent WebAuthn Level3 credential record, new CredentialRecord interface is introduced. Please upgrade from Authenticator interface to CredentialRecord interface. Authenticator interface will be removed in the future version.
    com.webauthn4j.authenticator.CoreAuthenticator
    CoreAuthenticator is deprecated since WebAuthn Level3 added new fields to the credential record. To represent WebAuthn Level3 credential record, new CoreCredentialRecord interface is introduced. Please upgrade from CoreAuthenticator interface to CoreCredentialRecord interface. CoreAuthenticator interface will be removed in the future version.
  • Deprecated Classes
    Class
    Description
    com.webauthn4j.authenticator.AuthenticatorImpl
    AuthenticatorImpl is deprecated since WebAuthn Level3 added new fields to the credential record. To represent WebAuthn Level3 credential record, new CredentialRecordImpl class is introduced. Please upgrade from AuthenticatorImpl class to CredentialRecordImpl class. AuthenticatorImpl class will be removed in the future version.
    com.webauthn4j.authenticator.CoreAuthenticatorImpl
    CoreAuthenticatorImpl is deprecated since WebAuthn Level3 added new fields to the credential record. To represent WebAuthn Level3 credential record, new CoreCredentialRecordImpl class is introduced. Please upgrade from CoreAuthenticatorImpl class to CoreCredentialRecordImpl class. CoreAuthenticatorImpl class will be removed in the future version.
    com.webauthn4j.verifier.internal.TokenBindingVerifier
    While Token Binding was present in Level 1 and Level 2 of WebAuthn, its use is not expected in Level 3. Use constructor without tokenBindingId
  • Deprecated Methods
    Method
    Description
    com.webauthn4j.data.SignatureAlgorithm.create(String)
    com.webauthn4j.server.ServerProperty.getTokenBindingId()
    While Token Binding was present in Level 1 and Level 2 of WebAuthn, its use is not expected in Level 3.
    com.webauthn4j.util.SignatureUtil.createSignature(String)
    Use SignatureUtil.createSignature(SignatureAlgorithm algorithm) instead.
    com.webauthn4j.WebAuthnManager.validate(AuthenticationData, AuthenticationParameters)
    renamed to 'verify`
    com.webauthn4j.WebAuthnManager.validate(AuthenticationRequest, AuthenticationParameters)
    renamed to 'verify`
    com.webauthn4j.WebAuthnManager.validate(RegistrationData, RegistrationParameters)
    renamed to 'verify`
    com.webauthn4j.WebAuthnManager.validate(RegistrationRequest, RegistrationParameters)
    renamed to 'verify`
  • Deprecated Constructors
    Constructor
    Description
    com.webauthn4j.anchor.KeyStoreTrustAnchorRepository(Path, String)
    use KeyStoreTrustAnchorRepository.createFromKeyStoreFilePath(Path, String) instead
    com.webauthn4j.data.AuthenticationParameters(ServerProperty, Authenticator, boolean)
    Deprecated as allowCredentials verification was introduced from WebAuthn Level2.
    com.webauthn4j.data.AuthenticationParameters(ServerProperty, Authenticator, boolean, boolean)
    Deprecated as allowCredentials verification was introduced from WebAuthn Level2.
    com.webauthn4j.data.AuthenticationParameters(ServerProperty, Authenticator, List<byte[]>, boolean)
    Deprecated as Authenticator is replaced with CredentialRecord AuthenticationParameters constructor
    com.webauthn4j.data.AuthenticationParameters(ServerProperty, Authenticator, List<byte[]>, boolean, boolean)
    Deprecated as Authenticator is replaced with CredentialRecord AuthenticationParameters constructor
    com.webauthn4j.data.CoreAuthenticationParameters(CoreServerProperty, CoreAuthenticator, boolean)
    Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.
    com.webauthn4j.data.CoreAuthenticationParameters(CoreServerProperty, CoreAuthenticator, boolean, boolean)
    Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.
    com.webauthn4j.data.CoreAuthenticationParameters(CoreServerProperty, CoreAuthenticator, List<byte[]>, boolean)
    Deprecated as CoreAuthenticator is replaced with CoreCredentialRecord CoreAuthenticationParameters constructor
    com.webauthn4j.data.CoreAuthenticationParameters(CoreServerProperty, CoreAuthenticator, List<byte[]>, boolean, boolean)
    Deprecated as CoreAuthenticator is replaced with CoreCredentialRecord CoreAuthenticationParameters constructor
    com.webauthn4j.data.CoreRegistrationParameters(CoreServerProperty, boolean)
    Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.
    com.webauthn4j.data.CoreRegistrationParameters(CoreServerProperty, boolean, boolean)
    Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.
    com.webauthn4j.data.RegistrationParameters(ServerProperty, boolean)
    Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.
    com.webauthn4j.data.RegistrationParameters(ServerProperty, boolean, boolean)
    Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.
    com.webauthn4j.server.ServerProperty(Origin, String, Challenge, byte[])
    While Token Binding was present in Level 1 and Level 2 of WebAuthn, its use is not expected in Level 3. Use constructor without tokenBindingId
    com.webauthn4j.server.ServerProperty(Set<Origin>, String, Challenge, byte[])
    While Token Binding was present in Level 1 and Level 2 of WebAuthn, its use is not expected in Level 3. Use constructor without tokenBindingId