Class CsrGenerator
Assembly: Lacuna.Pki.dll
Syntax
public class CsrGenerator
Constructors
CsrGenerator()
Declaration
Properties
DefaultSubject
Declaration
public static Name DefaultSubject { get; set; }
Property Value
PublicKey
Declaration
public PublicKey PublicKey { get; set; }
Property Value
Subject
Declaration
public Name Subject { get; set; }
Property Value
Methods
AddExtensions(X509Extensions)
Declaration
public void AddExtensions(X509Extensions extensions)
Parameters
Generate(Boolean)
Generates a PEM encoded CSR
Declaration
public string Generate(bool verifySignature = true)
Parameters
Type |
Name |
Description |
Boolean |
verifySignature |
|
Returns
GenerateCsr(Boolean)
Generates a CSR decoded object
Declaration
public Csr GenerateCsr(bool verifySignature = true)
Parameters
Type |
Name |
Description |
Boolean |
verifySignature |
|
Returns
GetToSignBytes()
Declaration
public byte[] GetToSignBytes()
Returns
SetPrecomputedSignature(SignatureAlgorithm, Byte[], Byte[])
Declaration
public void SetPrecomputedSignature(SignatureAlgorithm signatureAlgorithm, byte[] signature, byte[] toSignBytes = null)
Parameters
SetPublicKeyParameters(RSAParameters)
Declaration
public void SetPublicKeyParameters(RSAParameters publicKeyParameters)
Parameters