Instantiate a Pkcs10CertificationRequest object with the necessary credentials.

Namespace: Org.BouncyCastle.Pkcs
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public Pkcs10CertificationRequest(
	string signatureAlgorithm,
	X509Name subject,
	AsymmetricKeyParameter publicKey,
	Asn1Set attributes,
	AsymmetricKeyParameter signingKey
)
Visual Basic
Public Sub New ( _
	signatureAlgorithm As String, _
	subject As X509Name, _
	publicKey As AsymmetricKeyParameter, _
	attributes As Asn1Set, _
	signingKey As AsymmetricKeyParameter _
)
Visual C++
public:
Pkcs10CertificationRequest(
	String^ signatureAlgorithm, 
	X509Name^ subject, 
	AsymmetricKeyParameter^ publicKey, 
	Asn1Set^ attributes, 
	AsymmetricKeyParameter^ signingKey
)

Parameters

signatureAlgorithm
Type: System..::..String
Name of Sig Alg.
subject
Type: Org.BouncyCastle.Asn1.X509..::..X509Name
X509Name of subject eg OU="My unit." O="My Organisatioin" C="au"
publicKey
Type: Org.BouncyCastle.Crypto..::..AsymmetricKeyParameter
Public Key to be included in cert reqest.
attributes
Type: Org.BouncyCastle.Asn1..::..Asn1Set
ASN1Set of Attributes.
signingKey
Type: Org.BouncyCastle.Crypto..::..AsymmetricKeyParameter
Matching Private key for nominated (above) public key to be used to sign the request.

See Also