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

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

Uses of NoPrivateKeyFoundException in com.didisoft.pgp
 

Methods in com.didisoft.pgp that throw NoPrivateKeyFoundException
 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.
 void KeyStore.changePrivateKeyPassword(long keyId, java.lang.String oldPassword, java.lang.String newPassword)
          Changes private key password.
 void PGPKeyPair.changePrivateKeyPassword(java.lang.String oldPassword, java.lang.String newPassword)
          Changes the password of this private key.
 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 KeyPairInformation.checkPassword(java.lang.String password)
          Checks if a password for a private key is correct
 void KeyStore.exportPrivateKey(java.io.OutputStream outputStream, long keyId, boolean asciiArmored)
          Exports a private key from this KeyStore instance into a stream.
 void KeyStore.exportPrivateKey(java.io.OutputStream outputStream, java.lang.String userId, boolean asciiArmored)
          Exports a private key from this OpenPGP key store into a stream.
 void KeyPairInformation.exportPrivateKey(java.lang.String fileName, boolean asciiArmored)
          Exports the private key part of this key pair into a file.
 void KeyStore.exportPrivateKey(java.lang.String fileName, long keyId, boolean asciiArmored)
          Exports private key from this KeyStore instance, into a file.
 void KeyStore.exportPrivateKey(java.lang.String fileName, java.lang.String userId, boolean asciiArmored)
          Exports private key from this OpenPGP key store, into a file.
 KeyPairInformation[] KeyStore.importPrivateKey(java.io.InputStream privateKeyStream)
          Imports private key stream into this KeyStore instance.
 KeyPairInformation[] KeyStore.importPrivateKey(java.io.InputStream privateKeyStream, java.lang.String password)
          Imports private key stream into this KeyStore instance.
 KeyPairInformation[] KeyStore.importPrivateKey(java.lang.String privateKeyFileName)
          Imports a private key file into this KeyStore instance.
 KeyPairInformation[] KeyStore.importPrivateKey(java.lang.String privateKeyFileName, java.lang.String password)
          Imports private key file into this KeyStore instance.
 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.
 



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