Sdílet prostřednictvím


CertUtils Class

Definition

Class to provide methods to manage the certificates.

public static class CertUtils
type CertUtils = class
Public Class CertUtils
Inheritance
CertUtils

Methods

CreateSelfSignedCertificate(Int32, String, String, String, String)

Method to generate a self signed certificate

GetCertInBase64EncodedForm(String)

Method to get the Certificate's base 64 encoded string

NewX509Certificate2(Byte[], String, X509KeyStorageFlags, Boolean)

Provides a similar API call to new X509Certificate(byte[],string,X509KeyStorageFlags)

SerializeCert(X509Certificate2, X509ContentType)

Returns serialized certificate - Base64 encoded based on the content type

Applies to