PGPKeyGenerator..::..GenerateKeys Method (X509Certificate2, Boolean)
Generates the keys based on a certificate compatible with the method.
Namespace:
Walter.Cypher.PGPAssembly: Walter.Cypher (in Walter.Cypher.dll)
Syntax
public KeyRing GenerateKeys( X509Certificate2 cert, bool publicOnly )
Parameters
- cert
- Type: X509Certificate2
The certificate.
- publicOnly
- Type: Boolean
if set to true only the public key will be used.