vertx / io.vertx.ext.httpservicefactory / PGPHelper

PGPHelper

open class PGPHelper

Author
Julien Viet

Constructors

<init>

PGPHelper()

Functions

getPublicKey

open static fun getPublicKey(block: ByteArray, keyID: Long): PGPPublicKey

Get a public key from a public key block.

getSignature

open static fun getSignature(signature: ByteArray): PGPSignature

Get a signature from its bytes

verifySignature

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

Verify a PGP signature.