Add a given extension field for the standard extensions tag. The value parameter becomes the contents of the octet string associated with the extension.

Namespace: Org.BouncyCastle.X509
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public void AddExtension(
	string oid,
	bool critical,
	byte[] extensionValue
)
Visual Basic
Public Sub AddExtension ( _
	oid As String, _
	critical As Boolean, _
	extensionValue As Byte() _
)
Visual C++
public:
void AddExtension(
	String^ oid, 
	bool critical, 
	array<unsigned char>^ extensionValue
)

Parameters

oid
Type: System..::..String
critical
Type: System..::..Boolean
extensionValue
Type: array<System..::..Byte>[]()[][]

See Also