public class PublicKeyRingBlob extends KeyBlob
Modifier and Type | Method and Description |
---|---|
PGPPublicKeyRing |
getPGPPublicKeyRing()
Return the gpg public key ring from the key box blob.
|
getAllValidity, getAssignedOwnerTrust, getBlobCreatedAt, getBlobFlags, getChecksum, getExpirationTime, getKeyBytes, getKeyInformation, getKeyNumber, getNewestTimestamp, getNumberOfSignatures, getNumberOfUserIDs, getRecheckAfter, getReserveBytes, getSerialNumber, getUserIds
getType, getVersion
public PGPPublicKeyRing getPGPPublicKeyRing() throws java.io.IOException
java.io.IOException
- if the data cannot be parsed.java.lang.IllegalStateException
- if the blob is not BlobType.OPEN_PGP_BLOB