Gnu |
public void SignKey( PgpSecretKey secretKey, PgpPublicKey publicKey, DigestAlgorithm digestAlgo = DigestAlgorithm.Sha1, OpenPgpKeyCertification certification = OpenPgpKeyCertification.GenericCertification )
Exception | Condition |
---|---|
ArgumentNullException | secretKey is null. -or- publicKey is null. |
Signs a public key using the specified secret key.
Most OpenPGP implementations use GenericCertification to make their "key signatures". Some implementations are known to use the other certification types, but few differentiate between them.