Click or drag to resize

X509CertificateGenerator Class

A class to Generate Version 3 X509Certificates.
Inheritance Hierarchy
SystemObject
  GSF.Security.Cryptography.X509X509CertificateGenerator

Namespace: GSF.Security.Cryptography.X509
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public class X509CertificateGenerator
View Source

The X509CertificateGenerator type exposes the following members.

Constructors
 NameDescription
Public methodX509CertificateGenerator Used to generate an X509Certificate.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGenerate Generate a new X509Certificate using the passed in SignatureCalculator.
Public methodGenerateFile Generates a PFX file using the supplied password.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldCipherEngine The cipher engine to use.
Public fieldIssuer The issuer name. Do not include CN=. Defaults to a GUID Hexstring.
Public fieldKeySize The key size to generate.
Public fieldNotAfter Defaults to 10 years after then effective date.
Public fieldNotBefore The effective date. Defaults to the first day of the calendar year. (Unless it's before Jan 7, in that case, it's Jan 1 of the prior year)
Public fieldSerialNumber A positive serial number to use for the certificate.
Public fieldSignatureBits The number of bits of the hash method used to sign the certificate.
Public fieldSubject The subject name. Do not include CN=. Defaults to a GUID Hexstring.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also