X509V3CertificateGenerator Class

A class to Generate Version 3 X509Certificates.

Definition

Namespace: Org.BouncyCastle.X509
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public class X509V3CertificateGenerator
Inheritance
Object    X509V3CertificateGenerator

Constructors

X509V3CertificateGeneratorInitializes a new instance of the X509V3CertificateGenerator class
X509V3CertificateGenerator(X509Certificate)Create a generator for a version 3 certificate, initialised with another certificate.
X509V3CertificateGenerator(X509CertificateStructure)Initializes a new instance of the X509V3CertificateGenerator class

Properties

SignatureAlgNames Allows enumeration of the signature names supported by the generator.

Methods

AddExtension(DerObjectIdentifier, Boolean, Asn1Encodable) Add an extension to this certificate.
AddExtension(DerObjectIdentifier, Boolean, Byte) Add an extension to this certificate.
AddExtension(String, Boolean, Asn1Encodable) Add a given extension field for the standard extensions tag (tag 3).
AddExtension(String, Boolean, Byte) Add an extension using a string with a dotted decimal OID.
CopyAndAddExtension(DerObjectIdentifier, Boolean, X509Certificate) 
CopyAndAddExtension(String, Boolean, X509Certificate) Add a given extension field for the standard extensions tag (tag 3), copying the extension value from another certificate.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Generate(ISignatureFactory) Generate a new X509Certificate using the provided ISignatureFactory.
Generate(ISignatureFactory, Boolean, ISignatureFactory) Generate a new X509Certificate using the provided ISignatureFactory and containing altSignatureAlgorithm and altSignatureValue extensions based on the passed altSignatureFactory.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Reset Reset the Generator.
SetIssuerDN Set the distinguished name of the issuer. The issuer is the entity which is signing the certificate.
SetIssuerUniqueID Set the issuer unique ID - note: it is very rare that it is correct to do this.
SetNotAfter Set the date after which this certificate will no longer be valid.
SetNotBefore Set the date that this certificate is to be valid from.
SetPublicKey Set the public key that this certificate identifies.
SetSerialNumber Set the certificate's serial number.
SetSubjectDN Set the DN of the entity that this certificate is about.
SetSubjectPublicKeyInfo Set the SubjectPublicKeyInfo for the public key that this certificate identifies.
SetSubjectUniqueID Set the subject unique ID - note: it is very rare that it is correct to do this.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also