Class PublicKeyRingBlob


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

      • getPGPPublicKeyRing

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