X509CertificateBuilder Class |
Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
The X509CertificateBuilder type exposes the following members.
Name | Description | |
---|---|---|
X509CertificateBuilder | Initializes a new instance of the X509CertificateBuilder class |
Name | Description | |
---|---|---|
AlternateSignatureFormat |
Gets or sets a value that indicates whether PKCS#1 v2.1 is used.
| |
Extensions |
Gets a collection of user-supplied extensions to include in certificate.
| |
FriendlyName |
Gets or sets a friend name for certificate.
| |
HashingAlgorithm |
Gets or sets hashing algorithm used to sign the certificate. Default value is SHA256.
| |
NotAfter |
Gets or sets the date in local time after which a certificate is no longer valid. This value cannot be
earlier than NotBefore value. If external signer is used, this value cannot exceed NotAfter
value of the signer certificate.
| |
NotBefore |
Gets or sets the date in local time on which a certificate becomes valid. Default value is current
date and time. If external signer is used, this value cannot be less than NotBefore value of the
signer certificate.
| |
PrivateKeyInfo |
Gets an asymmetric key pair generator. Use this property to configure asymmetric key generation options.
| |
SerialNumber |
Gets or sets a serial number. Input string must consist of hex characters only.
| |
SubjectName |
Gets or sets subject of the certificate. If this is self-signed certificate, subject will be copied to
issuer field.
| |
Version |
Gets the version of X.509 certificate. This class creates only version 3 certificates.
|
Name | Description | |
---|---|---|
Build |
Creates, signs and encodes certificate object.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |