Class KeyBlob

java.lang.Object
org.bouncycastle.gpg.keybox.Blob
org.bouncycastle.gpg.keybox.KeyBlob
Direct Known Subclasses:
CertificateBlob, PublicKeyRingBlob

public class KeyBlob extends Blob
A PGP blob holds key material.
  • Constructor Details

    • KeyBlob

      protected KeyBlob(int base, long length, BlobType type, int version, int blobFlags, int keyNumber, List<KeyInformation> keyInformation, byte[] serialNumber, int numberOfUserIDs, List<UserID> userIds, int numberOfSignatures, List<Long> expirationTime, int assignedOwnerTrust, int allValidity, long recheckAfter, long newestTimestamp, long blobCreatedAt, byte[] keyBytes, byte[] reserveBytes, byte[] checksum)
  • Method Details

    • getBlobFlags

      public int getBlobFlags()
    • getKeyNumber

      public int getKeyNumber()
    • getKeyInformation

      public List<KeyInformation> getKeyInformation()
    • getSerialNumber

      public byte[] getSerialNumber()
    • getNumberOfUserIDs

      public int getNumberOfUserIDs()
    • getUserIds

      public List<UserID> getUserIds()
    • getNumberOfSignatures

      public int getNumberOfSignatures()
    • getExpirationTime

      public List<Long> getExpirationTime()
    • getAssignedOwnerTrust

      public int getAssignedOwnerTrust()
    • getAllValidity

      public int getAllValidity()
    • getRecheckAfter

      public long getRecheckAfter()
    • getNewestTimestamp

      public long getNewestTimestamp()
    • getBlobCreatedAt

      public long getBlobCreatedAt()
    • getKeyBytes

      public byte[] getKeyBytes()
    • getReserveBytes

      public byte[] getReserveBytes()
    • getChecksum

      public byte[] getChecksum()