C# 클래스 Org.BouncyCastle.Asn1.X509.X509ExtensionsGenerator

Generator for X.509 extensions
파일 보기 프로젝트 열기: nonorganic/dssnet 1 사용 예제들

공개 메소드들

메소드 설명
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