Class PublicKeyRingBlob
java.lang.Object
org.bouncycastle.gpg.keybox.Blob
org.bouncycastle.gpg.keybox.KeyBlob
org.bouncycastle.gpg.keybox.PublicKeyRingBlob
A PGP blob holds key material.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the gpg public key ring from the key box blob.Methods inherited from class KeyBlob
getAllValidity, getAssignedOwnerTrust, getBlobCreatedAt, getBlobFlags, getChecksum, getExpirationTime, getKeyBytes, getKeyInformation, getKeyNumber, getNewestTimestamp, getNumberOfSignatures, getNumberOfUserIDs, getRecheckAfter, getReserveBytes, getSerialNumber, getUserIdsMethods inherited from class Blob
getType, getVersion
-
Method Details
-
getPGPPublicKeyRing
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
-