|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PGPKeyPair | |
|---|---|
| com.didisoft.pgp | OpenPGP Library for Java |
| Uses of PGPKeyPair in com.didisoft.pgp |
|---|
| Methods in com.didisoft.pgp that return PGPKeyPair | |
|---|---|
static PGPKeyPair |
PGPKeyPair.generateKeyPair(int keySize,
java.lang.String userId,
java.lang.String keyAlgorithm,
java.lang.String password,
java.lang.String[] compressionTypes,
java.lang.String[] hashingAlgorithmTypes,
java.lang.String[] cipherTypes,
long expirationAfterDays)
Generates an OpenPGP key pair (public and private key). |
| Methods in com.didisoft.pgp with parameters of type PGPKeyPair | |
|---|---|
void |
PGPLib.encryptStream(java.io.InputStream dataStream,
java.lang.String fileName,
PGPKeyPair publicKey,
java.io.OutputStream out,
boolean asciiArmor,
boolean withIntegrityCheck)
OpenPGP encrypts an input stream using the first available Public key from a Key ring input stream 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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||