Package io.jans.fido2.service.verifier
Class SignatureVerifier
- java.lang.Object
-
- io.jans.fido2.service.verifier.SignatureVerifier
-
@ApplicationScoped public class SignatureVerifier extends Object
- Version:
- May 08, 2020
- Author:
- Yuriy Movchan
-
-
Constructor Summary
Constructors Constructor Description SignatureVerifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageDigest
getDigest(int signatureAlgorithm)
Signature
getSignatureChecker(int signatureAlgorithm)
void
verifySignature(byte[] signature, byte[] signatureBase, Certificate certificate, int signatureAlgorithm)
void
verifySignature(byte[] signature, byte[] signatureBase, PublicKey publicKey, int signatureAlgorithm)
-
-
-
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)
-
-