Class Csr
Represents a high level Certificate Signing Request (PKCS#10) object
Assembly: Lacuna.Pki.dll
Syntax
Properties
|
Improve this Doc
View Source
EncodedValue
The CSR in DER encoded format
Declaration
public byte[] EncodedValue { get; }
Property Value
|
Improve this Doc
View Source
SignatureAlgorithm
CSR Signature algorithm used for the SignatureValue
Declaration
public SignatureAlgorithm SignatureAlgorithm { get; }
Property Value
|
Improve this Doc
View Source
SignatureValue
Declaration
public byte[] SignatureValue { get; }
Property Value
|
Improve this Doc
View Source
Subject
Declaration
public Name Subject { get; }
Property Value
|
Improve this Doc
View Source
SubjectPublicKey
Declaration
public PublicKey SubjectPublicKey { get; }
Property Value
Methods
|
Improve this Doc
View Source
Decode(Byte[])
Decodes a CSR from a DER, PEM or DER Base64 encoded bytes
Declaration
public static Csr Decode(byte[] content)
Parameters
| Type |
Name |
Description |
| Byte[] |
content |
|
Returns
|
Improve this Doc
View Source
Decode(String)
Decodes a CSR from a PEM or DER Base64 encoded string
Declaration
public static Csr Decode(string content)
Parameters
| Type |
Name |
Description |
| String |
content |
PEM or DER Base64 encoded string
|
Returns
|
Improve this Doc
View Source
GetPemEncoded()
Returns the CSR in PEM encoded format
Declaration
public string GetPemEncoded()
Returns
|
Improve this Doc
View Source
Verify()
Verifies if the CSR is valid
Declaration
Returns
|
Improve this Doc
View Source
VerifyCertificate(PKCertificate)
Verifies if a certificate corresponds to this CSR
Declaration
public bool VerifyCertificate(PKCertificate certificate)
Parameters
Returns