Pkcs9AttributeObjectExtensionsFormatEx Method

Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string.

Definition

Namespace: SysadminsLV.PKI.Cryptography.Pkcs
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public static string FormatEx(
	this Pkcs9AttributeObject attribute,
	bool multiLine
)

Parameters

attribute  Pkcs9AttributeObject
An instance of Pkcs9AttributeObject to format.
multiLine  Boolean
True if the return string should contain carriage returns; otherwise, False

Return Value

String
A formatted string that represents the Abstract Syntax Notation One (ASN.1)-encoded data

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Pkcs9AttributeObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

Use this method if you need to print Abstract Syntax Notation One (ASN.1)-encoded data or output the information to a text box. Use the multiLine parameter to control the layout of the output.

See Also