public class PGPSignatureSubpacketVector
extends java.lang.Object
public static PGPSignatureSubpacketVector fromSubpackets(java.util.Collection<SignatureSubpacket> packets)
PGPSignatureSubpacketVector from the given Collection of
SignatureSubpacket items.
If the collection is null, return an empty
PGPSignatureSubpacketVector.packets - collection of items or nullpublic static PGPSignatureSubpacketVector fromSubpackets(SignatureSubpacket[] packets)
PGPSignatureSubpacketVector from the given SignatureSubpacket[].
If the array is null, return an empty
PGPSignatureSubpacketVector.packets - array of items or nullpublic SignatureSubpacket getSubpacket(int type)
public boolean hasSubpacket(int type)
type - type to look for.public SignatureSubpacket[] getSubpackets(int type)
type - subpacket type codepublic PGPSignatureList getEmbeddedSignatures() throws PGPException
PGPExceptionpublic NotationData[] getNotationDataOccurrences()
public NotationData[] getNotationDataOccurences()
public NotationData[] getNotationDataOccurrences(java.lang.String notationName)
NotationData occurrences which match the given notation name.notationName - notation namepublic long getIssuerKeyID()
public java.util.Date getSignatureCreationTime()
public long getSignatureExpirationTime()
public long getKeyExpirationTime()
public int[] getPreferredHashAlgorithms()
public int[] getPreferredSymmetricAlgorithms()
public int[] getPreferredCompressionAlgorithms()
@Deprecated public int[] getPreferredAEADAlgorithms()
getPreferredAEADCiphersuites() or getPreferredLibrePgpEncryptionModes()
instead.public PreferredAEADCiphersuites getPreferredAEADCiphersuites()
public int[] getPreferredLibrePgpEncryptionModes()
AEADAlgorithmTags.OCB.public int getKeyFlags()
public java.lang.String getSignerUserID()
public boolean isPrimaryUserID()
public int[] getCriticalTags()
public SignatureTarget getSignatureTarget()
public Features getFeatures()
public IssuerFingerprint getIssuerFingerprint()
public IntendedRecipientFingerprint getIntendedRecipientFingerprint()
public IntendedRecipientFingerprint[] getIntendedRecipientFingerprints()
public Exportable getExportable()
public boolean isExportable()
public PolicyURI getPolicyURI()
public PolicyURI[] getPolicyURIs()
public RegularExpression getRegularExpression()
public RegularExpression[] getRegularExpressions()
public Revocable getRevocable()
public boolean isRevocable()
public RevocationKey[] getRevocationKeys()
public RevocationReason getRevocationReason()
public TrustSignature getTrust()
public int size()
public SignatureSubpacket[] toArray()