Csr
Namespace: Lacuna.Pki
Assembly: Lacuna.Pki
Class
Represents a high level Certificate Signing Request (PKCS#10) object
public class Csr
Hierarquia: object → Csr
Propriedades
EncodedValue
The CSR in DER encoded format
public byte[] EncodedValue { get; }
Retorno
SignatureAlgorithm
CSR Signature algorithm used for the SignatureValue
public SignatureAlgorithm SignatureAlgorithm { get; }
Retorno
SignatureValue
CSR signature value
public byte[] SignatureValue { get; }
Retorno
Subject
CSR subject name
public Name Subject { get; }
Retorno
SubjectPublicKey
CSR public key
public PublicKey SubjectPublicKey { get; }
Retorno
Métodos
Decode(byte[])
Decodes a CSR from a DER, PEM or DER Base64 encoded bytes
public static Csr Decode(byte[] content)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
content | byte[] |
Retorno
Decode(string)
Decodes a CSR from a PEM or DER Base64 encoded string
public static Csr Decode(string content)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
content | string | PEM or DER Base64 encoded string |
Retorno
GetPemEncoded()
Returns the CSR in PEM encoded format
public string GetPemEncoded()
Retorno
Verify()
Verifies if the CSR is valid
public bool Verify()
Retorno
VerifyCertificate(PKCertificate)
Verifies if a certificate corresponds to this CSR
public bool VerifyCertificate(PKCertificate certificate)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
certificate | PKCertificate |
Retorno
Membros herdados
ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode(), GetType(), MemberwiseClone()