summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/x509.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/x509.erl b/src/x509.erl
index c815ca4..96a8ea2 100644
--- a/src/x509.erl
+++ b/src/x509.erl
@@ -112,6 +112,11 @@ verify(Cert, DerCert, % Certificate to verify.
public_key:der_decode(KeyType, Key0)
end,
+ lager:debug("DigestOrPlainText: ~p", [DigestOrPlainText]),
+ lager:debug("DigestType: ~p", [DigestType]),
+ lager:debug("Signature: ~p", [Signature]),
+ lager:debug("IssuerKey: ~p", [IssuerKey]),
+
%% Verify the signature.
public_key:verify(DigestOrPlainText, DigestType, Signature, IssuerKey).