Generate a certification for the passed in ID and key.
Namespace: Org.BouncyCastle.Bcpg.OpenPgpAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
| C# |
|---|
public PgpSignature GenerateCertification( string id, PgpPublicKey pubKey ) |
| Visual Basic |
|---|
Public Function GenerateCertification ( _ id As String, _ pubKey As PgpPublicKey _ ) As PgpSignature |
| Visual C++ |
|---|
public: PgpSignature^ GenerateCertification( String^ id, PgpPublicKey^ pubKey ) |
Parameters
- id
- Type: System..::..String
The ID we are certifying against the public key.
- pubKey
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKey
The key we are certifying against the ID.