|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use KeyPairInformation | |
---|---|
com.didisoft.pgp | OpenPGP Library for Java |
Uses of KeyPairInformation in com.didisoft.pgp |
---|
Subclasses of KeyPairInformation in com.didisoft.pgp | |
---|---|
class |
PGPKeyPair
Represents an OpenPGP key loaded from a key file. |
Methods in com.didisoft.pgp that return KeyPairInformation | |
---|---|
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 |
KeyPairInformation |
KeyStore.generateEccKeyPair(java.lang.String ecCurve,
java.lang.String userId,
java.lang.String privateKeyPassword)
Generates an OpenPGP key pair with Elliptic Curve cryptography (ECC) asymmetric encryption algorithm Default algorithms for the key are: Symmetric cipher: AES-256, AES-192, AES-128 Hash: SHA-512, SHA-384, SHA-256 Compression: ZIP, ZLIB, BZIP2, Uncompressed |
KeyPairInformation |
KeyStore.generateEccKeyPair(java.lang.String ecCurve,
java.lang.String userId,
java.lang.String privateKeyPassword,
long expirationAfterDays)
Generates an OpenPGP key pair with Elliptic Curve cryptography (ECC) asymmetric encryption algorithm Default algorithms for the key are: Symmetric cipher: AES-256, AES-192, AES-128 Hash: SHA-512, SHA-384, SHA-256 Compression: ZIP, ZLIB, BZIP2, Uncompressed |
KeyPairInformation |
KeyStore.generateEccKeyPair(java.lang.String ecCurve,
java.lang.String userId,
java.lang.String privateKeyPassword,
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 |
KeyPairInformation |
KeyStore.generateEccKeyPair(java.lang.String ecCurve,
java.lang.String userId,
java.lang.String privateKeyPassword,
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 |
KeyPairInformation |
KeyStore.generateElGamalKeyPair(int keySize,
int encryptionKeySize,
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. |
KeyPairInformation |
KeyStore.generateElGamalKeyPair(int keySize,
int encryptionKeySize,
java.lang.String userId,
java.lang.String password,
int expirationAfterDays)
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. |
KeyPairInformation |
KeyStore.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. |
KeyPairInformation |
KeyStore.generateElGamalKeyPair(int keySize,
java.lang.String userId,
java.lang.String password,
int expirationAfterDays)
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. |
KeyPairInformation |
KeyStore.generateKeyPair(int keySize,
int encryptionKeySize,
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 OpenPGP key pair (public and private key). |
KeyPairInformation |
KeyStore.generateKeyPair(int keySize,
int encryptionKeySize,
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 OpenPGP Key pair (public and private key). |
KeyPairInformation |
KeyStore.generateKeyPair(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. |
KeyPairInformation |
KeyStore.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)
Generates OpenPGP key pair (public and private key). |
KeyPairInformation |
KeyStore.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 OpenPGP key pair (public and private key). |
KeyPairInformation |
KeyStore.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)
Generates OpenPGP Key pair (public and private key). |
KeyPairInformation |
KeyStore.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 OpenPGP Key pair (public and private key). |
KeyPairInformation |
KeyStore.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. |
KeyPairInformation |
KeyStore.generateRsaKeyPair(int keySize,
java.lang.String userId,
java.lang.String password,
int expirationAfterDays)
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. |
KeyPairInformation |
KeyStore.getKey(long keyId)
Returns the key pair with the specified Key Id |
KeyPairInformation |
KeyStore.getKey(java.lang.String userId)
Returns the key pair with the specified User Id |
KeyPairInformation[] |
KeyStore.getKeys()
Returns the key pairs stored in this key store |
KeyPairInformation[] |
KeyStore.getKeys(java.lang.String userId)
Returns the key pairs stored in this key store, having a specified User Id or hexadecimal Key Id |
KeyPairInformation |
KeyStore.importKey(java.io.InputStream keyStream)
Imports the first OpenPGP key from a key data stream Example: |
KeyPairInformation |
KeyStore.importKey(java.lang.String keyFileName)
Imports private key file into this KeyStore instance. |
KeyPairInformation[] |
KeyStore.importKeyRing(java.io.InputStream keyStream)
Imports OpenPGP key ring stream into this KeyStore instance. |
KeyPairInformation[] |
KeyStore.importKeyRing(java.io.InputStream keyStream,
java.lang.String privateKeyPassword)
Imports OpenPGP key ring stream into this KeyStore instance. |
KeyPairInformation |
KeyStore.importKeyRing(KeyPairInformation key)
Imports a KeyPairInformation object into this KeyStore instance
Example: |
KeyPairInformation[] |
KeyStore.importKeyRing(java.lang.String keyRingFileName)
Imports OpenPGP key ring into this KeyStore instance. |
KeyPairInformation[] |
KeyStore.importKeyRing(java.lang.String keyRingFileName,
java.lang.String privateKeyPassword)
Imports OpenPGP key ring into this KeyStore instance. |
KeyPairInformation[] |
KeyStore.importKeyStore(KeyStore keyStore)
Imports the keys contained in another KeyStore object into the current instance. |
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.importPublicKey(java.io.InputStream publicKeyStream)
Imports an OpenPGP public key into this KeyStore instance. |
KeyPairInformation |
KeyStore.importPublicKey(KeyPairInformation key)
Imports only the public key component of a KeyPairInformation into this KeyStore instance
Example: |
KeyPairInformation[] |
KeyStore.importPublicKey(java.lang.String publicKeyFileName)
Imports an OpenPGP public key into this KeyStore instance. |
KeyPairInformation[] |
KeyStore.listKeys()
Lists keys stored in this OpenPGP key store to the System.out
Example: |
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 |
Methods in com.didisoft.pgp with parameters of type KeyPairInformation | |
---|---|
KeyPairInformation |
KeyStore.importKeyRing(KeyPairInformation key)
Imports a KeyPairInformation object into this KeyStore instance
Example: |
KeyPairInformation |
KeyStore.importPublicKey(KeyPairInformation key)
Imports only the public key component of a KeyPairInformation into this KeyStore instance
Example: |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |