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
 KeyPairInformation KeyStore.clearKeyExpirationTime(long keyId, java.lang.String privateKeyPassword)
          Clears the key expiration time of a specified OpenPGP key, and makes the key valid forever
 KeyPairInformation KeyStore.clearKeyExpirationTime(java.lang.String keyUserId, java.lang.String privateKeyPassword)
          Clears the key expiration time of a specified OpenPGP key, and makes the key valid forever
 void PGPLib.detachedSignStream(java.io.InputStream dataStream, KeyStore keyStore, java.lang.String userId, java.lang.String privateKeyPassword, java.io.OutputStream outStream, boolean asciiArmor)
          Creates an OpenPGP detached signature for a given data stream contents.
 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.
 KeyPairInformation KeyStore.setKeyCertificationType(long keyId, java.lang.String privateKeyPassword, KeyStore.KeyCertificationType certType)
          Changes the key certification type of a specified OpenPGP key
 KeyPairInformation KeyStore.setKeyCertificationType(java.lang.String keyUserId, java.lang.String privateKeyPassword, KeyStore.KeyCertificationType certType)
          Changes the key certification type of a specified OpenPGP key
 KeyPairInformation KeyStore.setKeyExpirationTime(long keyId, java.lang.String privateKeyPassword, int validDays)
          Changes the key expiration time of a specified OpenPGP key
 KeyPairInformation KeyStore.setKeyExpirationTime(java.lang.String keyUserId, java.lang.String privateKeyPassword, int validDays)
          Changes the key expiration time of a specified OpenPGP key
 void PGPLib.signAndEncryptStream(java.io.InputStream dataStream, 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 dataStream, 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-2017 DidiSoft Ltd. All Rights Reserved.