C# Класс Org.BouncyCastle.Asn1.X509.X509ExtensionsGenerator

Generator for X.509 extensions
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddExtension() публичный Метод

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.
Результат void

AddExtension() публичный Метод

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.
Результат void

Generate() публичный Метод

Generate an X509Extensions object based on the current state of the generator.
public Generate ( ) : X509Extensions
Результат X509Extensions

Reset() публичный Метод

Reset the generator
public Reset ( ) : void
Результат void