Method | Description | |
---|---|---|
AddSubKey ( |
Add a subkey to the key ring to be generated with default certification.
|
|
AddSubKey ( |
Add a subkey with specific hashed and unhashed packets associated with it and default certification.
|
|
GeneratePublicKeyRing ( ) : |
Return the public key ring that corresponds to the secret key ring.
|
|
GenerateSecretKeyRing ( ) : |
Return the secret key ring.
|
|
PgpKeyRingGenerator ( int certificationLevel, |
Create a new key ring generator using old style checksumming. It is recommended to use SHA1 checksumming where possible.
|
|
PgpKeyRingGenerator ( int certificationLevel, |
Create a new key ring generator.
|
public AddSubKey ( |
||
keyPair | ||
return | void |
public AddSubKey ( |
||
keyPair | Public/private key pair. | |
hashedPackets | Hashed packet values to be included in certification. | |
unhashedPackets | Unhashed packets values to be included in certification. | |
return | void |
public GeneratePublicKeyRing ( ) : |
||
return |
public GenerateSecretKeyRing ( ) : |
||
return |
public PgpKeyRingGenerator ( int certificationLevel, |
||
certificationLevel | int | The certification level for keys on this ring. |
masterKey | The master key pair. | |
id | string | The id to be associated with the ring. |
encAlgorithm | SymmetricKeyAlgorithmTag | The algorithm to be used to protect secret keys. |
passPhrase | char | The passPhrase to be used to protect secret keys. |
hashedPackets | Packets to be included in the certification hash. | |
unhashedPackets | Packets to be attached unhashed to the certification. | |
rand | input secured random. | |
return | System |
public PgpKeyRingGenerator ( int certificationLevel, |
||
certificationLevel | int | The certification level for keys on this ring. |
masterKey | The master key pair. | |
id | string | The id to be associated with the ring. |
encAlgorithm | SymmetricKeyAlgorithmTag | The algorithm to be used to protect secret keys. |
passPhrase | char | The passPhrase to be used to protect secret keys. |
useSha1 | bool | Checksum the secret keys with SHA1 rather than the older 16 bit checksum. |
hashedPackets | Packets to be included in the certification hash. | |
unhashedPackets | Packets to be attached unhashed to the certification. | |
rand | input secured random. | |
return | System |