|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use KeyStore | |
---|---|
com.didisoft.pgp | OpenPGP Library for Java |
com.didisoft.pgp.events |
Uses of KeyStore in com.didisoft.pgp |
---|
Methods in com.didisoft.pgp that return KeyStore | |
---|---|
static KeyStore |
KeyStore.openFile(java.lang.String filename,
java.lang.String password)
Initializes a new Key Store object. |
static KeyStore |
KeyStore.openInMemory()
Creates a new in-memory KeyStore instance. |
Methods in com.didisoft.pgp with parameters of type KeyStore | |
---|---|
void |
RevocationLib.assignDesignatedRevoker(KeyStore keyStore,
long keyId,
java.lang.String privateKeyPassword,
long revokerKeyId)
Authorizes the specified key as designated revoker for this key. |
void |
RevocationLib.assignDesignatedRevoker(KeyStore keyStore,
java.lang.String userId,
java.lang.String privateKeyPassword,
java.lang.String revokerUserId)
Authorizes the specified key as designated revoker for this key. |
void |
RevocationLib.createRevocationCertificateInFile(KeyStore keyStore,
long keyId,
java.lang.String privateKeyPassword,
byte reason,
java.lang.String description,
java.lang.String outputFileName)
Creates a key revocation certificate for a given OpenPGP key located in a KeyStore and stores it in a file. |
void |
RevocationLib.createRevocationCertificateInFile(KeyStore keyStore,
java.lang.String userId,
java.lang.String privateKeyPassword,
byte reason,
java.lang.String description,
java.lang.String outputFileName)
Creates a key revocation certificate for a given OpenPGP key located in a KeyStore and stores it in a file. |
java.lang.String |
RevocationLib.createRevocationCertificateText(KeyStore keyStore,
long keyId,
java.lang.String privateKeyPassword,
byte reason,
java.lang.String description)
Creates a revocation certificate for a given OpenPGP key in ASCII armored string format. |
java.lang.String |
RevocationLib.createRevocationCertificateText(KeyStore keyStore,
java.lang.String userId,
java.lang.String privateKeyPassword,
byte reason,
java.lang.String description)
Creates a revocation certificate for a given OpenPGP key in ASCII armored string format. |
SignatureCheckResult |
PGPLib.decryptAndVerify(java.io.InputStream encryptedStream,
KeyStore keyStore,
java.lang.String privateKeyPassword,
java.io.OutputStream outputStream)
Decrypts and verifies OpenPGP encrypted and signed stream. |
SignatureCheckResult |
PGPLib.decryptAndVerify(java.lang.String encryptedFileName,
KeyStore keyStore,
java.lang.String privateKeyPassword,
java.lang.String outputFileName)
Decrypts and verifies one pass encrypted and signed OpenPGP file Supports OpenPGP version 3 format too (used by PGP 6.5 and below). |
boolean |
PGPLib.decryptAndVerifyFile(java.lang.String encryptedFileName,
KeyStore keyStore,
java.lang.String privateKeyPassword,
java.lang.String outputFileName)
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerify(String, KeyStore, String, String) instead |
boolean |
PGPLib.decryptAndVerifyFileTo(java.lang.String encryptedFileName,
KeyStore keyStore,
java.lang.String privateKeyPassword,
java.lang.String outputFolder)
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerify(String, KeyStore, String, String) instead |
boolean |
PGPLib.decryptAndVerifyStream(java.io.InputStream encryptedStream,
KeyStore keyStore,
java.lang.String privateKeyPassword,
java.io.OutputStream outputStream)
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerifyStream(InputStream, KeyStore, String, OutputStream) instead |
boolean |
PGPLib.decryptAndVerifyStreamTo(java.io.InputStream encryptedStream,
KeyStore keyStore,
java.lang.String privateKeyPassword,
java.lang.String outputFolder)
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerifyTo(InputStream, KeyStore, String, String) instead |
SignatureCheckResult |
PGPLib.decryptAndVerifyTo(java.io.InputStream encryptedStream,
KeyStore keyStore,
java.lang.String privateKeyPassword,
java.lang.String outputFolder)
Decrypts and verifies OpenPGP encrypted and signed stream. |
SignatureCheckResult |
PGPLib.decryptAndVerifyTo(java.lang.String encryptedFileName,
KeyStore keyStore,
java.lang.String privateKeyPassword,
java.lang.String outputFolder)
Verifies the signature and decrypts a one pass signed and encrypted OpenPGP file into a folder Supports OpenPGP version 3 format too (used by PGP 6.5 and below). |
java.lang.String |
PGPLib.decryptFile(java.lang.String encryptedFileName,
KeyStore pgpKeyStore,
java.lang.String privateKeyPassword,
java.lang.String outputFileName)
Decrypts an OpenPGP encrypted file using key from a OpenPGP key store. |
java.lang.String[] |
PGPLib.decryptFileTo(java.lang.String encryptedFileName,
KeyStore keyStore,
java.lang.String privateKeyPassword,
java.lang.String outputFolder)
Decrypts the content of an OpenPGP encrypted file into a folder. |
java.lang.String |
PGPLib.decryptStream(java.io.InputStream encryptedStream,
KeyStore pgpKeyStore,
java.lang.String privateKeyPassword,
java.io.OutputStream outputStream)
Decrypts an OpenPGP encrypted stream using a private key supplied as an input stream. |
java.lang.String[] |
PGPLib.decryptStreamTo(java.io.InputStream encryptedStream,
KeyStore keyStore,
java.lang.String privateKeyPassword,
java.lang.String outputFolder)
Decrypts an OpenPGP encrypted stream to a specified folder. |
java.lang.String |
PGPLib.decryptString(java.lang.String message,
KeyStore keyStore,
java.lang.String privateKeyPassword)
Decrypts an OpenPGP encrypted UTF-8 string message. |
java.lang.String |
PGPLib.decryptString(java.lang.String message,
KeyStore keyStore,
java.lang.String privateKeyPassword,
java.lang.String charsetName)
Decrypts an OpenPGP encrypted string message. |
void |
PGPLib.detachedSignFile(java.lang.String dataFileName,
KeyStore keyStore,
long privateKeyId,
java.lang.String privateKeyPassword,
java.lang.String detachedSignatureFileName,
boolean asciiArmor)
Creates an OpenPGP detached signature for a given file. |
void |
PGPLib.detachedSignFile(java.lang.String dataFileName,
KeyStore keyStore,
java.lang.String privateKeyUserId,
java.lang.String privateKeyPassword,
java.lang.String detachedSignatureFileName,
boolean asciiArmor)
Creates an OpenPGP detached signature for a given file. |
void |
PGPLib.detachedSignStream(java.io.InputStream dataStream,
KeyStore keyStore,
long keyId,
java.lang.String privateKeyPassword,
java.io.OutputStream outStream,
boolean asciiArmor)
Creates an OpenPGP detached signature for a given data stream contents. |
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. |
SignatureCheckResult |
PGPLib.detachedVerify(java.io.InputStream dataFileStream,
java.io.InputStream detachedSignatureStream,
KeyStore keyStore)
Verifies that an OpenPGP detached signature is signed from a trusted sender. |
SignatureCheckResult |
PGPLib.detachedVerify(java.lang.String message,
java.lang.String detachedSignature,
KeyStore keyStore)
Verifies that an OpenPGP detached signature is signed from a trusted sender. |
boolean |
PGPLib.detachedVerifyStream(java.io.InputStream dataFileStream,
java.io.InputStream detachedSignatureStream,
KeyStore keyStore)
Verifies that an OpenPGP detached signature is signed from a trusted sender. |
void |
PGPLib.encryptFile(java.lang.String dataFileName,
KeyStore keyStore,
long[] recipientsKeyIds,
java.lang.String outputFileName,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP encrypts a file for multiple recipients. Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Example: |
void |
PGPLib.encryptFile(java.lang.String dataFileName,
KeyStore keyStore,
long keyId,
java.lang.String outputFileName)
OpenPGP encrypts given file using specified public key, stored in specified OpenPGP key store. |
void |
PGPLib.encryptFile(java.lang.String dataFileName,
KeyStore keyStore,
long keyId,
java.lang.String outputFileName,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP encrypts given file using specified public key, stored in specified OpenPGP key store. |
void |
PGPLib.encryptFile(java.lang.String dataFileName,
KeyStore keyStore,
java.lang.String[] recipientsUserIds,
java.lang.String outputFileName,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP encrypts a file for multiple recipients. Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Example: |
void |
PGPLib.encryptFile(java.lang.String dataFileName,
KeyStore keyStore,
java.lang.String userId,
java.lang.String outputFileName)
OpenPGP encrypts given file using specified public key, stored in specified OpenPGP key store. |
void |
PGPLib.encryptFile(java.lang.String dataFileName,
KeyStore keyStore,
java.lang.String userId,
java.lang.String outputFileName,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP encrypts given file using specified public key, stored in specified OpenPGP key store. |
int |
PGPLib.encryptFileByKeyId(KeyStore keyStore,
java.lang.String dataFileName,
java.lang.String keyIdHex,
java.lang.String outputFileName)
Deprecated. Use instead |
int |
PGPLib.encryptFileByUserId(KeyStore keyStore,
java.lang.String dataFileName,
java.lang.String userID,
java.lang.String outputFileName)
Deprecated. Use instead |
void |
PGPLib.encryptFiles(java.lang.String[] dataFileNames,
KeyStore keyStore,
long[] recipientsKeyIds,
java.lang.String outputFileName,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP encrypts multiple files into one OpenPGP archive Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Example usage: |
void |
PGPLib.encryptFiles(java.lang.String[] dataFileNames,
KeyStore keyStore,
java.lang.String[] recipientsUserIds,
java.lang.String outputFileName,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP encrypts multiple files into one OpenPGP archive Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Example: |
void |
PGPLib.encryptStream(java.io.InputStream dataStream,
java.lang.String fileName,
KeyStore keyStore,
long[] keyIds,
java.io.OutputStream out,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP encrypts input stream using recipients' public keys located in a KeyStore Compression algorithm used is the one specified with #setCompression(CompressionAlgorithm) if supported
by the public key, otherwise the first supported by the key algorithm is used. |
void |
PGPLib.encryptStream(java.io.InputStream dataStream,
java.lang.String fileName,
KeyStore keyStore,
long keyId,
java.io.OutputStream out,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP encrypts input stream using a recipient public key located in a KeyStore Compression algorithm used is the one specified with PGPLib.setCompression(String) if supported
by the public key, otherwise the first supported by the key algorithm is used. |
void |
PGPLib.encryptStream(java.io.InputStream dataStream,
java.lang.String fileName,
KeyStore keyStore,
java.lang.String[] userIds,
java.io.OutputStream out,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP Encrypts Input Stream using a Public key located in a KeyStore Compression algorithm used is the one specified with #setCompression(CompressionAlgorithm) if supported
by the public key, otherwise the first supported by the key algorithm is used. |
void |
PGPLib.encryptStream(java.io.InputStream dataStream,
java.lang.String fileName,
KeyStore keyStore,
java.lang.String userId,
java.io.OutputStream out,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP Encrypts Input Stream using a Public key located in a KeyStore Compression algorithm used is the one specified with PGPLib.setCompression(String) if supported
by the public key, otherwise the first supported by the key algorithm is used. |
java.lang.String |
PGPLib.encryptString(java.lang.String stringToEncrypt,
KeyStore keyStore,
long keyId)
OpenPGP encrypts a UTF-8 String message Example: |
java.lang.String |
PGPLib.encryptString(java.lang.String stringToEncrypt,
KeyStore keyStore,
long[] keyIds,
java.lang.String charsetName)
OpenPGP encrypts a String message for multiple recipients Example: |
java.lang.String |
PGPLib.encryptString(java.lang.String stringToEncrypt,
KeyStore keyStore,
long keyId,
java.lang.String charsetName)
OpenPGP encrypts a String message Example: |
java.lang.String |
PGPLib.encryptString(java.lang.String stringToEncrypt,
KeyStore keyStore,
java.lang.String userId)
OpenPGP encrypts a UTF-8 String message Example: |
java.lang.String |
PGPLib.encryptString(java.lang.String stringToEncrypt,
KeyStore keyStore,
java.lang.String[] keyIdOrUserIds,
java.lang.String charsetName)
OpenPGP encrypts a String message for multiple recipients Example: |
java.lang.String |
PGPLib.encryptString(java.lang.String stringToEncrypt,
KeyStore keyStore,
java.lang.String userId,
java.lang.String charsetName)
OpenPGP encrypts a String message Example: |
KeyPairInformation[] |
KeyStore.importKeyStore(KeyStore keyStore)
Imports the keys contained in another KeyStore object into the current instance. |
void |
RevocationLib.revokeKey(KeyStore keyStore,
long keyId,
java.lang.String privateKeyPassword,
byte reason,
java.lang.String description)
Revokes a public key or sub key from a KeyStore. |
void |
RevocationLib.revokeKey(KeyStore keyStore,
java.lang.String userId,
java.lang.String privateKeyPassword,
byte reason,
java.lang.String description)
Revokes a public key or sub key from a KeyStore. |
void |
RevocationLib.revokeKeyWithDesignatedRevoker(KeyStore keyStore,
long keyId,
long revokerKeyId,
java.lang.String revokerPassword,
byte reason,
java.lang.String description)
Revokes an OpenPGP public key located in a KeyStore with a designated revoker. |
void |
RevocationLib.revokeKeyWithDesignatedRevoker(KeyStore keyStore,
java.lang.String userId,
java.lang.String revokerUserId,
java.lang.String revokerPassword,
byte reason,
java.lang.String description)
Revokes an OpenPGP public key located in a KeyStore with a designated revoker. |
void |
RevocationLib.revokeKeyWithRevocationCertificateFile(KeyStore keyStore,
java.lang.String certificateFileName)
Revokes a key or subkey from an OpenPGP key ring located in a KeyStore. |
void |
RevocationLib.revokeKeyWithRevocationCertificateText(KeyStore keyStore,
java.lang.String certificateText)
Revokes a key or subkey located in an OpenPGP KeyStore using a revocation certificate supplied as text. |
void |
RevocationLib.revokeUserIdSignature(KeyStore keyStore,
long keyId,
java.lang.String userId,
java.lang.String privateKeyPassword,
byte reason,
java.lang.String description)
Revokes a User Id signature binding from an OpenPGP public key located in a KeyStore Note: the corresponding private key must also exist in this KeyStore in order the signature to be produced. |
void |
RevocationLib.revokeUserIdSignature(KeyStore keyStore,
java.lang.String userId,
java.lang.String privateKeyPassword,
byte reason,
java.lang.String description)
Revokes a User Id signature binding from an OpenPGP public key located in a KeyStore Note: if more than one key has this User ID signature use @link RevocationLib.revokeUserIdSignature(KeyStore, long, String, String, byte, String) instead
Equivalent GPG command: gpg --edit-key [userId] revsig |
void |
PGPLib.signAndEncryptFile(java.lang.String fileName,
KeyStore keyStore,
long signKeyId,
java.lang.String privateKeyPassword,
long[] encKeyIds,
java.lang.String outputFileName,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP signs and encrypts a file in one pass for multiple recipients. |
void |
PGPLib.signAndEncryptFile(java.lang.String fileName,
KeyStore keyStore,
long signKeyId,
java.lang.String privateKeyPassword,
long encKeyId,
java.lang.String outputFileName,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP signs and encrypts a file in one pass. |
void |
PGPLib.signAndEncryptFile(java.lang.String fileName,
KeyStore keyStore,
java.lang.String signUserId,
java.lang.String privateKeyPassword,
java.lang.String[] encUserIds,
java.lang.String outputFileName,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP signs and encrypts a file in one pass for multiple recipients. |
void |
PGPLib.signAndEncryptFile(java.lang.String fileName,
KeyStore keyStore,
java.lang.String signUserId,
java.lang.String privateKeyPassword,
java.lang.String encUserId,
java.lang.String outputFileName,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP signs and encrypts a file in one pass. |
void |
PGPLib.signAndEncryptStream(java.io.InputStream dataFileStream,
java.lang.String internalFileName,
KeyStore keyStore,
java.lang.String signUserId,
java.lang.String privateKeyPassword,
long[] encKeyIds,
java.io.OutputStream outputStream,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP signs and encrypts a file in one pass for multiple recipients (Note that this is not the same as first encrypt and then sign a file, because in that case a double compression is performed.) Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)
Example: |
void |
PGPLib.signAndEncryptStream(java.io.InputStream dataFileStream,
java.lang.String internalFileName,
KeyStore keyStore,
java.lang.String signUserId,
java.lang.String privateKeyPassword,
java.lang.String[] encUserIds,
java.io.OutputStream outputStream,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP signs and encrypts a file in one pass for multiple recipients (Note that this is not the same as first encrypt and then sign a file, because in that case a double compression is performed.) Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)
Example: |
void |
PGPLib.signAndEncryptStream(java.io.InputStream dataFileStream,
java.lang.String internalFileName,
KeyStore keyStore,
java.lang.String signUserId,
java.lang.String privateKeyPassword,
java.lang.String encUserId,
java.io.OutputStream outputStream,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP signs and encrypts a file in one pass. |
void |
PGPLib.signAndEncryptStreamVersion3(java.io.InputStream dataFileStream,
java.lang.String internalFileName,
KeyStore keyStore,
long signingKeyId,
java.lang.String privateKeyPassword,
long encryptionKeyId,
java.io.OutputStream outputStream,
boolean asciiArmor)
OpenPGP signs and encrypts a file in one pass, using OpenPGP version 3 signature format (compatible with PGP 6.5 and below) (Note that this is not the same as first encrypt and then sign a file, because in that case a double compression is performed.) Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)
Example: |
void |
PGPLib.signAndEncryptStreamVersion3(java.io.InputStream dataFileStream,
java.lang.String internalFileName,
KeyStore keyStore,
java.lang.String signingKeyUserId,
java.lang.String privateKeyPassword,
java.lang.String encryptionKeyUserId,
java.io.OutputStream outputStream,
boolean asciiArmor)
OpenPGP signs and encrypts a file in one pass, using OpenPGP version 3 signature format (compatible with PGP 6.5 and below) (Note that this is not the same as first encrypt and then sign a file, because in that case a double compression is performed.) Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)
Example: |
void |
PGPLib.signFile(KeyStore keyStore,
java.lang.String dataFileName,
long privateKeyId,
java.lang.String privateKeyPassword,
java.lang.String outputFileName)
OpenPGP signs given file using specified Private Key, using OpenPGP Key Store. |
void |
PGPLib.signFile(KeyStore keyStore,
java.lang.String dataFileName,
java.lang.String keyIdHex,
java.lang.String privateKeyPassword,
java.lang.String outputFileName)
OpenPGP signs given file using specified Private Key, using OpenPGP Key Store. |
void |
PGPLib.signFile(java.lang.String dataFileName,
KeyStore keyStore,
long privateKeyId,
java.lang.String privateKeyPassword,
java.lang.String outputFileName,
boolean asciiArmor)
OpenPGP signs a file, with private key stored in a KeyStore object. |
void |
PGPLib.signFile(java.lang.String dataFileName,
KeyStore keyStore,
java.lang.String privateKeyUserId,
java.lang.String privateKeyPassword,
java.lang.String outputFileName,
boolean asciiArmor)
OpenPGP signs a file, with private key stored in a KeyStore object. |
void |
PGPLib.signStream(java.io.InputStream dataInputStream,
java.lang.String fileNameLabel,
KeyStore keyStore,
long signingKeyId,
java.lang.String privateKeyPassword,
java.io.OutputStream signedStream,
boolean asciiArmor)
OpenPGP signs stream with a private key stored in a KeyStore. |
void |
PGPLib.signStream(java.io.InputStream dataInputStream,
java.lang.String fileNameLabel,
KeyStore keyStore,
java.lang.String signingKeyUserId,
java.lang.String privateKeyPassword,
java.io.OutputStream signedStream,
boolean asciiArmor)
OpenPGP signs stream with a private key stored in a KeyStore. |
java.lang.String |
PGPLib.signString(java.lang.String message,
KeyStore keyStore,
long privateKeyId,
java.lang.String privateKeyPassword,
java.lang.String charsetName)
OpenPGP signs a String message Example: |
java.lang.String |
PGPLib.signString(java.lang.String message,
KeyStore keyStore,
java.lang.String privateKeyUserId,
java.lang.String privateKeyPassword,
java.lang.String charsetName)
OpenPGP signs a String message Example: |
SignatureCheckResult |
PGPLib.verifyAndExtract(java.io.File dataFile,
KeyStore keyStore,
java.io.File outputFile)
Verifies a file for being correctly OpenPGP signed and extracts the data Example: |
SignatureCheckResult |
PGPLib.verifyAndExtract(java.io.InputStream dataFileStream,
KeyStore keyStore,
java.io.OutputStream outputFileStream)
Verifies an incoming stream for being correctly OpenPGP signed and extracts its data Example: |
SignatureCheckResult |
PGPLib.verifyAndExtract(java.lang.String dataFileName,
KeyStore keyStore,
java.lang.String outputFileName)
Verifies a file for being correctly OpenPGP signed and extracts the data Example: |
SignatureCheckResult |
PGPLib.verifyAndExtract(java.lang.String message,
KeyStore keyStore,
java.lang.StringBuffer decryptedString)
Verifies an OpenPGP signed only message and extracts the contents |
SignatureCheckResult |
PGPLib.verifyAndExtract(java.lang.String message,
KeyStore keyStore,
java.lang.StringBuffer decryptedString,
java.lang.String charsetName)
Verifies an OpenPGP signed only message and extracts the contents |
boolean |
PGPLib.verifyFile(java.lang.String dataFileName,
KeyStore keyStore,
java.lang.String outputFileName)
Deprecated. Due to misleading return value. Please use {@link #verifyAndExtract(String, KeyStore, String) instead |
boolean |
PGPLib.verifyStream(java.io.InputStream dataFileStream,
KeyStore keyStore,
java.io.OutputStream outputFileStream)
Deprecated. Due to misleading return value. Please use PGPLib.verifyAndExtract(InputStream, KeyStore, OutputStream) instead |
SignatureCheckResult |
PGPLib.verifyWithoutExtracting(java.io.File dataFile,
KeyStore keyStore)
Verifies a file for being correctly OpenPGP signed without extracting its data Example: |
SignatureCheckResult |
PGPLib.verifyWithoutExtracting(java.io.File dataFile,
KeyStore keyStore,
java.lang.String privateKeyPassword)
Verifies the signature of an OpenPGP signed and encrypted file, without extracting its data Example: |
SignatureCheckResult |
PGPLib.verifyWithoutExtracting(java.io.InputStream dataStream,
KeyStore keyStore)
Verifies an incoming stream as being correctly OpenPGP signed without extracting its data Example: |
SignatureCheckResult |
PGPLib.verifyWithoutExtracting(java.io.InputStream dataStream,
KeyStore keyStore,
java.lang.String privateKeyPassword)
Verifies the signature of an OpenPGP signed and encrypted file, without extracting its data Example: |
SignatureCheckResult |
PGPLib.verifyWithoutExtracting(java.lang.String message,
KeyStore keyStore)
Verifies an OpenPGP signed only message and extracts the contents |
SignatureCheckResult |
PGPLib.verifyWithoutExtracting(java.lang.String message,
KeyStore keyStore,
java.lang.String privateKeyPassword)
Verifies an OpenPGP signed only message and extracts the contents |
Uses of KeyStore in com.didisoft.pgp.events |
---|
Methods in com.didisoft.pgp.events with parameters of type KeyStore | |
---|---|
void |
IKeyStoreSearchListener.onKeyNotFound(KeyStore keyStore,
boolean isPublic,
long keyId,
java.lang.String keyIdHex,
java.lang.String userId)
Event fired when a matching key (e.g. |
void |
IKeyStoreSaveListener.onSave(KeyStore keyStore)
Fired on each KeyStore modification event |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |