X509ExtensionsGenerator Class

Definition

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

Remarks

Generator for X.509 extensions

Constructors

X509ExtensionsGeneratorInitializes a new instance of the X509ExtensionsGenerator class

Properties

IsEmptyReturn true if there are no extension present in this generator.

Methods

AddExtension(DerObjectIdentifier, Boolean, Asn1Encodable) Add an extension with the given oid and the passed in value to be included in the OCTET STRING associated with the extension.
AddExtension(DerObjectIdentifier, Boolean, Byte) Add an extension with the given oid and the passed in byte array to be wrapped in the OCTET STRING associated with the extension.
AddExtensions 
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)
GenerateGenerate an X509Extensions object based on the current state of the generator.
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)
ResetReset the generator
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also