Returns a new key ring with the public key passed in either added or
replacing an existing one.
Namespace: Org.BouncyCastle.Bcpg.OpenPgpAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public static PgpPublicKeyRing InsertPublicKey( PgpPublicKeyRing pubRing, PgpPublicKey pubKey ) |
Visual Basic |
---|
Public Shared Function InsertPublicKey ( _ pubRing As PgpPublicKeyRing, _ pubKey As PgpPublicKey _ ) As PgpPublicKeyRing |
Visual C++ |
---|
public: static PgpPublicKeyRing^ InsertPublicKey( PgpPublicKeyRing^ pubRing, PgpPublicKey^ pubKey ) |
Parameters
- pubRing
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKeyRing
The public key ring to be modified.
- pubKey
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKey
The public key to be inserted.