CertificateIssuer.Issue Method
Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 7.0.9083)
Issue(Certificate, CertificateInfo, PublicKeyInfo)
Issues a certificate signed by the specified certification authority.
Declaration
public static Certificate Issue(Certificate certificationAuthority, CertificateInfo certificateInfo, PublicKeyInfo publicKey)
Parameters
Type | Name | Description |
---|---|---|
Certificate | certificationAuthority | Certification authority certificate to issue and sign the certificate. |
CertificateInfo | certificateInfo | Certificate info. |
PublicKeyInfo | publicKey | Certificate public key. |
Returns
Type | Description |
---|---|
Certificate | A new certificate. |
Issue(CertificateInfo, PrivateKeyInfo)
Issues a self-signed certificate.
Declaration
public static Certificate Issue(CertificateInfo certificateInfo, PrivateKeyInfo privateKey)
Parameters
Type | Name | Description |
---|---|---|
CertificateInfo | certificateInfo | Certificate info. |
PrivateKeyInfo | privateKey | Certificate private key. |
Returns
Type | Description |
---|---|
Certificate | A new certificate. |