Add a subkey with specific hashed and unhashed packets associated with it and
default certification.
Namespace: Org.BouncyCastle.Bcpg.OpenPgpAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public void AddSubKey( PgpKeyPair keyPair, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets ) |
Visual Basic |
---|
Public Sub AddSubKey ( _ keyPair As PgpKeyPair, _ hashedPackets As PgpSignatureSubpacketVector, _ unhashedPackets As PgpSignatureSubpacketVector _ ) |
Visual C++ |
---|
public: void AddSubKey( PgpKeyPair^ keyPair, PgpSignatureSubpacketVector^ hashedPackets, PgpSignatureSubpacketVector^ unhashedPackets ) |
Parameters
- keyPair
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpKeyPair
Public/private key pair.
- hashedPackets
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpSignatureSubpacketVector
Hashed packet values to be included in certification.
- unhashedPackets
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpSignatureSubpacketVector
Unhashed packets values to be included in certification.
Exceptions
Exception | Condition |
---|---|
Org.BouncyCastle.Bcpg.OpenPgp..::..PgpException |