vertx / io.vertx.ext.httpservicefactory / PGPHelper / verifySignature

verifySignature

open static fun verifySignature(file: InputStream, signature: InputStream, key: PGPPublicKey): Boolean

Verify a PGP signature.

Parameters

file - the file

signature - the signature

key - the public key

Exceptions

Exception - anything preventing the verification to happen

Return
true if the signature is verified