public class OpenPgpSelf extends OpenPgpContact
OpenPgpStore, giving
access to our own encryption keys etc.jid, store, unfetchableKeys| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.openpgp.PGPPublicKeyRingCollection |
getAnnouncedPublicKeys()
Return a
PGPPublicKeyRingCollection containing only the public keys belonging to our signing key ring. |
org.bouncycastle.openpgp.PGPSecretKeyRingCollection |
getSecretKeys()
Return a
PGPSecretKeyRingCollection which contains all of our PGPSecretKeyRings. |
org.pgpainless.key.OpenPgpV4Fingerprint |
getSigningKeyFingerprint()
Return the
OpenPgpV4Fingerprint of our signing key. |
org.bouncycastle.openpgp.PGPSecretKeyRing |
getSigningKeyRing()
Return the
PGPSecretKeyRing which we will use to sign our messages. |
boolean |
hasSecretKeyAvailable()
Return true, if we have a usable secret key available.
|
distrust, getAnyPublicKeys, getFingerprintsOfKeysWithState, getJid, getPublicKeysOfTrustState, getTrust, getTrustedAnnouncedKeys, getTrustedFingerprints, getUndecidedFingerprints, getUnfetchableKeys, getUntrustedFingerprints, hasUndecidedKeys, isTrusted, trust, updateKeys, updateKeyspublic boolean hasSecretKeyAvailable()
throws java.io.IOException,
org.bouncycastle.openpgp.PGPException
java.io.IOException - IO is dangerousorg.bouncycastle.openpgp.PGPException - PGP is brittlepublic org.bouncycastle.openpgp.PGPSecretKeyRingCollection getSecretKeys()
throws java.io.IOException,
org.bouncycastle.openpgp.PGPException
PGPSecretKeyRingCollection which contains all of our PGPSecretKeyRings.java.io.IOException - IO is dangerousorg.bouncycastle.openpgp.PGPException - PGP is brittlepublic org.bouncycastle.openpgp.PGPSecretKeyRing getSigningKeyRing()
throws java.io.IOException,
org.bouncycastle.openpgp.PGPException
PGPSecretKeyRing which we will use to sign our messages.java.io.IOException - IO is dangerousorg.bouncycastle.openpgp.PGPException - PGP is brittlepublic org.pgpainless.key.OpenPgpV4Fingerprint getSigningKeyFingerprint()
throws java.io.IOException,
org.bouncycastle.openpgp.PGPException
OpenPgpV4Fingerprint of our signing key.java.io.IOException - IO is dangerousorg.bouncycastle.openpgp.PGPException - PGP is brittlepublic org.bouncycastle.openpgp.PGPPublicKeyRingCollection getAnnouncedPublicKeys()
throws java.io.IOException,
org.bouncycastle.openpgp.PGPException
PGPPublicKeyRingCollection containing only the public keys belonging to our signing key ring.
TODO: Add support for public keys of other devices of the owner.getAnnouncedPublicKeys in class OpenPgpContactjava.io.IOException - IO is dangerous.org.bouncycastle.openpgp.PGPException - PGP is brittle.