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
public class KeyBlob extends Blob
A PGP blob holds key material.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedKeyBlob(int base, long length, BlobType type, int version, int blobFlags, int keyNumber, java.util.List<KeyInformation> keyInformation, byte[] serialNumber, int numberOfUserIDs, java.util.List<UserID> userIds, int numberOfSignatures, java.util.List<java.lang.Long> expirationTime, int assignedOwnerTrust, int allValidity, long recheckAfter, long newestTimestamp, long blobCreatedAt, byte[] keyBytes, byte[] reserveBytes, byte[] checksum)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAllValidity()intgetAssignedOwnerTrust()longgetBlobCreatedAt()intgetBlobFlags()byte[]getChecksum()java.util.List<java.lang.Long>getExpirationTime()byte[]getKeyBytes()java.util.List<KeyInformation>getKeyInformation()intgetKeyNumber()longgetNewestTimestamp()intgetNumberOfSignatures()intgetNumberOfUserIDs()longgetRecheckAfter()byte[]getReserveBytes()byte[]getSerialNumber()java.util.List<UserID>getUserIds()-
Methods inherited from class org.bouncycastle.gpg.keybox.Blob
getType, getVersion
-
-
-
-
Constructor Detail
-
KeyBlob
protected KeyBlob(int base, long length, BlobType type, int version, int blobFlags, int keyNumber, java.util.List<KeyInformation> keyInformation, byte[] serialNumber, int numberOfUserIDs, java.util.List<UserID> userIds, int numberOfSignatures, java.util.List<java.lang.Long> expirationTime, int assignedOwnerTrust, int allValidity, long recheckAfter, long newestTimestamp, long blobCreatedAt, byte[] keyBytes, byte[] reserveBytes, byte[] checksum)
-
-
Method Detail
-
getBlobFlags
public int getBlobFlags()
-
getKeyNumber
public int getKeyNumber()
-
getKeyInformation
public java.util.List<KeyInformation> getKeyInformation()
-
getSerialNumber
public byte[] getSerialNumber()
-
getNumberOfUserIDs
public int getNumberOfUserIDs()
-
getUserIds
public java.util.List<UserID> getUserIds()
-
getNumberOfSignatures
public int getNumberOfSignatures()
-
getExpirationTime
public java.util.List<java.lang.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()
-
-