C# Class Org.BouncyCastle.Asn1.X509.X509ExtensionsGenerator

Generator for X.509 extensions
Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode Description
AddExtension ( DerObjectIdentifier oid, bool critical, Asn1Encodable extValue ) : void

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 oid, bool critical, byte extValue ) : void

Add an extension with the given oid and the passed in byte array to be wrapped in the OCTET STRING associated with the extension.

Generate ( ) : X509Extensions

Generate an X509Extensions object based on the current state of the generator.

Reset ( ) : void

Reset the generator

Method Details

AddExtension() public méthode

Add an extension with the given oid and the passed in value to be included in the OCTET STRING associated with the extension.
public AddExtension ( DerObjectIdentifier oid, bool critical, Asn1Encodable extValue ) : void
oid DerObjectIdentifier OID for the extension.
critical bool True if critical, false otherwise.
extValue Asn1Encodable The ASN.1 object to be included in the extension.
Résultat void

AddExtension() public méthode

Add an extension with the given oid and the passed in byte array to be wrapped in the OCTET STRING associated with the extension.
public AddExtension ( DerObjectIdentifier oid, bool critical, byte extValue ) : void
oid DerObjectIdentifier OID for the extension.
critical bool True if critical, false otherwise.
extValue byte The byte array to be wrapped.
Résultat void

Generate() public méthode

Generate an X509Extensions object based on the current state of the generator.
public Generate ( ) : X509Extensions
Résultat X509Extensions

Reset() public méthode

Reset the generator
public Reset ( ) : void
Résultat void