Class RemotePKCertificateGenerator
Inherited Members
Namespace: Lacuna.Pki.Issuer
Assembly: Lacuna.Pki.dll
Syntax
public class RemotePKCertificateGenerator : BasePKCertificateGenerator
Constructors
RemotePKCertificateGenerator()
Declaration
public RemotePKCertificateGenerator()
Properties
Issuer
Issuer certificate
Declaration
public PKCertificate Issuer { get; set; }
Property Value
Type | Description |
---|---|
PKCertificate |
Methods
GenerateCertificate(SignatureAlgorithm, Byte[], Byte[], PKCertificate)
Generates a X509 certificate after Issuer signature
Declaration
public static PKCertificate GenerateCertificate(SignatureAlgorithm signatureAlgorithm, byte[] toSignData, byte[] signature, PKCertificate issuer = null)
Parameters
Type | Name | Description |
---|---|---|
SignatureAlgorithm | signatureAlgorithm | Issuer signature algorithm |
Byte[] | toSignData | Data submitted to issuer signature |
Byte[] | signature | Issuer's signature |
PKCertificate | issuer | Issuer's certificate. If not set, the signature verification will be bypassed |
Returns
Type | Description |
---|---|
PKCertificate | Issued PKCertificate |
GenerateToSignData()
Generates the data that shall be signed by the Issuer
Declaration
public byte[] GenerateToSignData()
Returns
Type | Description |
---|---|
Byte[] |