|
||||||||||
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.generateEccKeyPair(java.lang.String ecCurve,
java.lang.String userId,
java.lang.String password)
Generates an OpenPGP key pair with Elliptic Curve cryptography (ECC) asymmetric encryption algorithm Note: The generated key pair has no expiration date |
static PGPKeyPair |
PGPKeyPair.generateEccKeyPair(java.lang.String ecCurve,
java.lang.String userId,
java.lang.String password,
java.lang.String[] compressionTypes,
java.lang.String[] hashingAlgorithmTypes,
java.lang.String[] cipherTypes)
Generates an OpenPGP key pair with Elliptic Curve cryptography (ECC) asymmetric encryption algorithm Note: The generated key pair has no expiration date |
static PGPKeyPair |
PGPKeyPair.generateEccKeyPair(java.lang.String ecCurve,
java.lang.String userId,
java.lang.String password,
java.lang.String[] compressionTypes,
java.lang.String[] hashingAlgorithmTypes,
java.lang.String[] cipherTypes,
long expirationAfterDays)
Generates an OpenPGP key pair with Elliptic Curve cryptography (ECC) asymmetric encryption algorithm |
static PGPKeyPair |
PGPKeyPair.generateElGamalKeyPair(int keySize,
java.lang.String userId,
java.lang.String password)
Generates OpenPGP Key pair with ElGamal (DH/DSS) encryption and predefined values for compression, hashing and cypher like the ones generated with PGP Desktop(tm) key generation wizard. |
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). |
static PGPKeyPair |
PGPKeyPair.generateRsaKeyPair(int keySize,
java.lang.String userId,
java.lang.String password)
Generates OpenPGP Key pair with RSA encryption and predefined values for compression, hashing and cypher like the ones generated with PGP Desktop(tm) key generation wizard. |
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 outputStream,
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 |