Class AuthenticatorDataParser


  • @ApplicationScoped
    public class AuthenticatorDataParser
    extends Object
    authData � a raw buffer struct containing user info. Parser for authData or authenticatorData
    • Field Detail

      • FLAG_ATTESTED_CREDENTIAL_DATA_INCLUDED

        public static final int FLAG_ATTESTED_CREDENTIAL_DATA_INCLUDED
        See Also:
        Constant Field Values
      • FLAG_EXTENSION_DATA_INCLUDED

        public static final int FLAG_EXTENSION_DATA_INCLUDED
        See Also:
        Constant Field Values
    • Constructor Detail

      • AuthenticatorDataParser

        public AuthenticatorDataParser()
    • Method Detail

      • parseAttestationData

        public AuthData parseAttestationData​(String incomingAuthData)
      • parseAssertionData

        public AuthData parseAssertionData​(String incomingAuthData)
      • parseCounter

        public int parseCounter​(byte[] counter)
      • verifyAtFlag

        public boolean verifyAtFlag​(byte[] flags)
      • verifyEdFlag

        public boolean verifyEdFlag​(byte[] flags)
      • verifyAttestationBuffer

        public void verifyAttestationBuffer​(byte[] attestationBuffer)
      • verifyExtensionBuffer

        public void verifyExtensionBuffer​(byte[] extensionBuffer)
      • verifyNoLeftovers

        public void verifyNoLeftovers​(byte[] leftovers)