8889909192939495969798
return vals; } public long getIssuerKeyID() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.ISSUER_KEY_ID); if (p == null) { return 0; }
100101102103104105106107108109110
return ((IssuerKeyID)p).getKeyID(); } public Date getSignatureCreationTime() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.CREATION_TIME); if (p == null) { return null; }
118119120121122123124125126127128
* * @return seconds a signature is valid for. */ public long getSignatureExpirationTime() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.EXPIRE_TIME); if (p == null) { return 0; }
136137138139140141142143144145146
* * @return seconds a key is valid for. */ public long getKeyExpirationTime() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.KEY_EXPIRE_TIME); if (p == null) { return 0; }
148149150151152153154155156157158
return ((KeyExpirationTime)p).getTime(); } public int[] getPreferredHashAlgorithms() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.PREFERRED_HASH_ALGS); if (p == null) { return null; }
160161162163164165166167168169170
return ((PreferredAlgorithms)p).getPreferences(); } public int[] getPreferredSymmetricAlgorithms() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.PREFERRED_SYM_ALGS); if (p == null) { return null; }
172173174175176177178179180181182
return ((PreferredAlgorithms)p).getPreferences(); } public int[] getPreferredCompressionAlgorithms() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.PREFERRED_COMP_ALGS); if (p == null) { return null; }
184185186187188189190191192193194
return ((PreferredAlgorithms)p).getPreferences(); } public int getKeyFlags() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.KEY_FLAGS); if (p == null) { return 0; }
196197198199200201202203204205206
return ((KeyFlags)p).getFlags(); } public String getSignerUserID() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.SIGNER_USER_ID); if (p == null) { return null; }
8990919293949596979899