Class AuthenticatorDataVerifier


  • @ApplicationScoped
    public class AuthenticatorDataVerifier
    extends Object
    Version:
    May 08, 2020
    Author:
    Yuriy Movchan
    • Constructor Detail

      • AuthenticatorDataVerifier

        public AuthenticatorDataVerifier()
    • Method Detail

      • verifyPackedAttestationSignature

        public void verifyPackedAttestationSignature​(AuthData authData,
                                                     byte[] clientDataHash,
                                                     String signature,
                                                     Certificate certificate,
                                                     int signatureAlgorithm)
      • verifyPackedAttestationSignature

        public void verifyPackedAttestationSignature​(byte[] authData,
                                                     byte[] clientDataHash,
                                                     String signature,
                                                     PublicKey key,
                                                     int signatureAlgorithm)
      • verifyPackedAttestationSignature

        public void verifyPackedAttestationSignature​(byte[] authData,
                                                     byte[] clientDataHash,
                                                     String signature,
                                                     Certificate certificate,
                                                     int signatureAlgorithm)
      • verifyPackedSurrogateAttestationSignature

        public void verifyPackedSurrogateAttestationSignature​(byte[] authData,
                                                              byte[] clientDataHash,
                                                              String signature,
                                                              PublicKey publicKey,
                                                              int signatureAlgorithm)
      • verifyAssertionSignature

        public void verifyAssertionSignature​(AuthData authData,
                                             byte[] clientDataHash,
                                             String signature,
                                             PublicKey publicKey,
                                             int signatureAlgorithm)
      • verifyU2FAttestationSignature

        public void verifyU2FAttestationSignature​(AuthData authData,
                                                  byte[] clientDataHash,
                                                  String signature,
                                                  Certificate certificate,
                                                  int signatureAlgorithm)
      • verifyU2FAttestationSignature

        public void verifyU2FAttestationSignature​(AuthData authData,
                                                  byte[] rpIdHash,
                                                  byte[] clientDataHash,
                                                  String signature,
                                                  Certificate certificate,
                                                  int signatureAlgorithm)
      • verifyAttestationSignature

        public void verifyAttestationSignature​(AuthData authData,
                                               byte[] clientDataHash,
                                               String signature,
                                               Certificate certificate,
                                               int signatureAlgorithm)