CryptographyUtilsConvertAttribute Method

Converts a default instance of Pkcs9AttributeObject class to a specific attribute implementation object.

Definition

Namespace: SysadminsLV.PKI.Utils
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public static Pkcs9AttributeObject ConvertAttribute(
	this Pkcs9AttributeObject attribute
)

Parameters

attribute  Pkcs9AttributeObject
Default instance of Pkcs9AttributeObject class.

Return Value

Pkcs9AttributeObject
Explicit attribute implementation if defined, otherwise, the same object is returned.

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).

See Also