Class Keyserver
java.lang.Object
org.wildfly.channel.gpg.Keyserver
Retrieves a public key from a remote GPG keyserver using a PKS query
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.openpgp.PGPPublicKeyRingdownloadKey(String keyID) download a public key matching thekeyIDfrom one of defined GPG keyservers
-
Constructor Details
-
Keyserver
-
-
Method Details
-
downloadKey
public org.bouncycastle.openpgp.PGPPublicKeyRing downloadKey(String keyID) throws org.bouncycastle.openpgp.PGPException, IOException download a public key matching thekeyIDfrom one of defined GPG keyservers- Parameters:
keyID- - hex representation of a GPG public key- Returns:
- - the public key associated with the
keyIDor null if not found - Throws:
org.bouncycastle.openpgp.PGPExceptionIOException
-