Class SignatureVerifier


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

      • SignatureVerifier

        public SignatureVerifier()
    • Method Detail

      • verifySignature

        public void verifySignature​(byte[] signature,
                                    byte[] signatureBase,
                                    PublicKey publicKey,
                                    int signatureAlgorithm)
      • getSignatureChecker

        public Signature getSignatureChecker​(int signatureAlgorithm)
      • getDigest

        public MessageDigest getDigest​(int signatureAlgorithm)
      • verifySignature

        public void verifySignature​(byte[] signature,
                                    byte[] signatureBase,
                                    Certificate certificate,
                                    int signatureAlgorithm)