vertx / io.vertx.ext.httpservicefactory / PGPHelper / getPublicKey

getPublicKey

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

Get a public key from a public key block.

Parameters

block - the public key block

keyID - the key id

Exceptions

Exception - anything that would prevent to obtain the key

Return
the public key