Method | Description | |
---|---|---|
CreateSelfSignedCertificate ( string subjectDirName, int signatureBits, int keyStrength ) : |
Creates a self signed certificate that can be used in SSL communications
|
|
CreateSelfSignedCertificate ( string subjectDirName, System.DateTime startDate, System.DateTime endDate, int signatureBits, int keyStrength, string password, string fileName ) : void |
Creates new certificate
|
|
OpenCertificate ( string fileName, string password ) : |
Opens a certificate, loading the private key of the PFX file.
|
public static CreateSelfSignedCertificate ( string subjectDirName, int signatureBits, int keyStrength ) : |
||
subjectDirName | string | A valid DirName formated string. Example: CN=ServerName |
signatureBits | int | Bitstrength of signature algorithm. Supported Lengths are 160,256, and 384 |
keyStrength | int | RSA key strength. Typically a multiple of 1024. |
return |
public static CreateSelfSignedCertificate ( string subjectDirName, System.DateTime startDate, System.DateTime endDate, int signatureBits, int keyStrength, string password, string fileName ) : void | ||
subjectDirName | string | |
startDate | System.DateTime | |
endDate | System.DateTime | |
signatureBits | int | |
keyStrength | int | |
password | string | |
fileName | string | |
return | void |
public static OpenCertificate ( string fileName, string password ) : |
||
fileName | string | |
password | string | |
return |