Uses of Class
com.didisoft.pgp.exceptions.NoPublicKeyFoundException

Packages that use NoPublicKeyFoundException
com.didisoft.pgp OpenPGP Library for Java 
 

Uses of NoPublicKeyFoundException in com.didisoft.pgp
 

Methods in com.didisoft.pgp that throw NoPublicKeyFoundException
 void KeyStore.addUserId(long keyId, java.lang.String privateKeyPassword, java.lang.String newUserId)
          Appends an additional User Id signature to a key contained in this key store.
 void KeyStore.changePrimaryUserId(long keyId, java.lang.String privateKeyPassword, java.lang.String newUserId)
          Changes the primary (first) user Id signature of a key with a new user Id


Example usage:
Check the file KeyStoreChangeUserId.java located in the examples folder in the library archive.
 boolean KeyStore.changeUserId(long keyId, java.lang.String privateKeyPassword, java.lang.String oldUserId, java.lang.String newUserId)
          Changes an existing user Id signature of a key with a new user Id


Example usage:
Check the file KeyStoreChangeUserId.java located in the examples folder in the library archive.
 boolean KeyStore.deleteUserId(long keyId, java.lang.String userId)
          Removes a user Id signature from a key


Example usage:
Check the file KeyStoreChangeUserId.java located in the examples folder in the library archive.
 void KeyStore.exportKeyRing(java.io.OutputStream outputStream, long keyId, boolean asciiArmor)
          Exports Key ring (both public and private key) located in this Key store into a stream.
 void KeyStore.exportKeyRing(java.io.OutputStream outputStream, java.lang.String userId, boolean asciiArmor)
          Exports Key ring (both public and private key) located in this Key store into a stream.
 void KeyStore.exportKeyRing(java.lang.String fileName, long keyId, boolean asciiArmor)
          Exports Key ring (both public and private key) located in this Key store in one file.
 void KeyStore.exportKeyRing(java.lang.String fileName, java.lang.String userId)
          Exports Key ring (both public and private key) located in this Key store in one file.
 void KeyStore.exportKeyRing(java.lang.String fileName, java.lang.String userId, boolean asciiArmor)
          Exports Key ring (both public and private key) located in this Key store in one file.
 void KeyStore.exportPublicKey(java.io.OutputStream outputStream, long keyId, boolean asciiArmored)
          Exports public key from this KeyStore instance into a file.
 void KeyStore.exportPublicKey(java.io.OutputStream outputStream, java.lang.String userId, boolean asciiArmored)
          Exports a public key from this KeyStore instance into a stream.
 void KeyStore.exportPublicKey(java.lang.String fileName, long keyId, boolean asciiArmored)
          Exports public key from this KeyStore instance into a file.
 void KeyStore.exportPublicKey(java.lang.String fileName, java.lang.String userId, boolean asciiArmored)
          Exports a public key from this KeyStore instance into a file.
 KeyPairInformation[] KeyStore.importPublicKey(java.io.InputStream publicKeyStream)
          Imports an OpenPGP public key into this KeyStore instance.
 KeyPairInformation[] KeyStore.importPublicKey(java.lang.String publicKeyFileName)
          Imports an OpenPGP public key into this KeyStore instance.
 void KeyStore.setTrust(long keyId, byte trustValue)
          Sets an internal trust value for a public key, valid only in this KeyStore instance

PGP command line (r) equivalent:
pgp --set-trust keyId --trust trustValue
 void KeyStore.setTrust(java.lang.String keyUserId, byte trustValue)
          Sets an internal trust value for a public key, valid only in this KeyStore instance

PGP command line (r) equivalent:
pgp --set-trust keyUserId --trust trustValue
 void PGPLib.signAndEncryptStream(java.io.InputStream dataFileStream, java.lang.String internalFileName, java.io.InputStream privateKeyStream, java.lang.String privateKeyPassword, java.io.InputStream[] publicKeyStreams, java.io.OutputStream outputStream, boolean asciiArmor, boolean withIntegrityCheck)
          OpenPGP signs and encrypts a stream in one pass.
 void PGPLib.signAndEncryptStream(java.io.InputStream dataFileStream, java.lang.String internalFileName, java.io.InputStream privateKeyStream, java.lang.String privateKeyPassword, java.io.InputStream publicKeyStream, java.io.OutputStream outputStream, boolean asciiArmor, boolean withIntegrityCheck)
          OpenPGP signs and encrypts a stream in one pass.
 

Constructors in com.didisoft.pgp that throw NoPublicKeyFoundException
PGPKeyPair(java.lang.String fileName)
          Initializes the object from a PGP key file.
PGPKeyPair(java.lang.String publicKeyFileName, java.lang.String privateKeyFileName)
          Initializes the object from a public and private PGP key files.
 



Copyright © 2006-2013 DidiSoft Ltd. All Rights Reserved.