Replace the public key set on the secret ring with the corresponding key off the public ring.
Namespace: Org.BouncyCastle.Bcpg.OpenPgpAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public static PgpSecretKeyRing ReplacePublicKeys( PgpSecretKeyRing secretRing, PgpPublicKeyRing publicRing ) |
Visual Basic |
---|
Public Shared Function ReplacePublicKeys ( _ secretRing As PgpSecretKeyRing, _ publicRing As PgpPublicKeyRing _ ) As PgpSecretKeyRing |
Visual C++ |
---|
public: static PgpSecretKeyRing^ ReplacePublicKeys( PgpSecretKeyRing^ secretRing, PgpPublicKeyRing^ publicRing ) |
Parameters
- secretRing
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpSecretKeyRing
Secret ring to be changed.
- publicRing
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKeyRing
Public ring containing the new public key set.