Initializes a new instance of the PgpSecretKey class
Namespace: Org.BouncyCastle.Bcpg.OpenPgpAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public PgpSecretKey( int certificationLevel, PgpKeyPair keyPair, string id, SymmetricKeyAlgorithmTag encAlgorithm, char[] passPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand ) |
Visual Basic |
---|
Public Sub New ( _ certificationLevel As Integer, _ keyPair As PgpKeyPair, _ id As String, _ encAlgorithm As SymmetricKeyAlgorithmTag, _ passPhrase As Char(), _ useSha1 As Boolean, _ hashedPackets As PgpSignatureSubpacketVector, _ unhashedPackets As PgpSignatureSubpacketVector, _ rand As SecureRandom _ ) |
Visual C++ |
---|
public: PgpSecretKey( int certificationLevel, PgpKeyPair^ keyPair, String^ id, SymmetricKeyAlgorithmTag encAlgorithm, array<wchar_t>^ passPhrase, bool useSha1, PgpSignatureSubpacketVector^ hashedPackets, PgpSignatureSubpacketVector^ unhashedPackets, SecureRandom^ rand ) |
Parameters
- certificationLevel
- Type: System..::..Int32
- keyPair
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpKeyPair
- id
- Type: System..::..String
- encAlgorithm
- Type: Org.BouncyCastle.Bcpg..::..SymmetricKeyAlgorithmTag
- passPhrase
- Type: array<System..::..Char>[]()[][]
- useSha1
- Type: System..::..Boolean
- hashedPackets
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpSignatureSubpacketVector
- unhashedPackets
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpSignatureSubpacketVector