Package org.bouncycastle.gpg.keybox
Class KeyBlob
java.lang.Object
org.bouncycastle.gpg.keybox.Blob
org.bouncycastle.gpg.keybox.KeyBlob
- Direct Known Subclasses:
CertificateBlob
,PublicKeyRingBlob
A PGP blob holds key material.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
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 Summary
Modifier and TypeMethodDescriptionint
int
long
int
byte[]
byte[]
int
long
int
int
long
byte[]
byte[]
Methods inherited from class org.bouncycastle.gpg.keybox.Blob
getType, getVersion
-
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
-
getSerialNumber
public byte[] getSerialNumber() -
getNumberOfUserIDs
public int getNumberOfUserIDs() -
getUserIds
-
getNumberOfSignatures
public int getNumberOfSignatures() -
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()
-