101102103104105106107108109110111
return ((IssuerKeyID)p).getKeyID(); } public Date getSignatureCreationTime() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.CREATION_TIME); if (p == null) { return null; }
119120121122123124125126127128129
* * @return seconds a signature is valid for. */ public long getSignatureExpirationTime() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.EXPIRE_TIME); if (p == null) { return 0; }
137138139140141142143144145146147
* * @return seconds a key is valid for. */ public long getKeyExpirationTime() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.KEY_EXPIRE_TIME); if (p == null) { return 0; }
149150151152153154155156157158159
return ((KeyExpirationTime)p).getTime(); } public int[] getPreferredHashAlgorithms() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.PREFERRED_HASH_ALGS); if (p == null) { return null; }
161162163164165166167168169170171
return ((PreferredAlgorithms)p).getPreferences(); } public int[] getPreferredSymmetricAlgorithms() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.PREFERRED_SYM_ALGS); if (p == null) { return null; }
173174175176177178179180181182183
return ((PreferredAlgorithms)p).getPreferences(); } public int[] getPreferredCompressionAlgorithms() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.PREFERRED_COMP_ALGS); if (p == null) { return null; }
185186187188189190191192193194195
return ((PreferredAlgorithms)p).getPreferences(); } public int getKeyFlags() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.KEY_FLAGS); if (p == null) { return 0; }
197198199200201202203204205206207
return ((KeyFlags)p).getFlags(); } public String getSignerUserID() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.SIGNER_USER_ID); if (p == null) { return null; }
248249250251252253254255256257258259260261
return list; } public Features getFeatures() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.FEATURES); if (p == null) { return null; } return new Features(p.isCritical(), p.getData()); }
8788899091929394959697
return vals; } public long getIssuerKeyID() { SignatureSubpacket p = this.getSubpacket(SignatureSubpacketTags.ISSUER_KEY_ID); if (p == null) { return 0; }