Class PublicKeyRingBlob


public class PublicKeyRingBlob extends KeyBlob
A PGP blob holds key material.
  • Method Details

    • getPGPPublicKeyRing

      public PGPPublicKeyRing getPGPPublicKeyRing() throws IOException
      Return the gpg public key ring from the key box blob.
      Returns:
      A new PGPPublicKeyRing based on the blobs raw data.
      Throws:
      IOException - if the data cannot be parsed.
      IllegalStateException - if the blob is not BlobType.OPEN_PGP_BLOB