107108109110111112113
PublicKey pubKey, Date time, String provider) throws PGPException, NoSuchProviderException { this(new JcaPGPKeyConverter().setProvider(provider).getPGPPublicKey(algorithm, pubKey, time)); }
119120121122123124125
int algorithm, PublicKey pubKey, Date time) throws PGPException { this(new JcaPGPKeyConverter().getPGPPublicKey(algorithm, pubKey, time)); }
423424425426427428429
*/ public PublicKey getKey( String provider) throws PGPException, NoSuchProviderException { return new JcaPGPKeyConverter().setProvider(provider).getPublicKey(this); }
439440441442443444445
*/ public PublicKey getKey( Provider provider) throws PGPException { return new JcaPGPKeyConverter().setProvider(provider).getPublicKey(this); }
9596979899100101102103104105
return privateKey; } try { return new JcaPGPKeyConverter().setProvider(PGPUtil.getDefaultProvider()).getPrivateKey(this); } catch (PGPException e) { throw new IllegalStateException("unable to convert key: " + e.toString()); }