Click or drag to resize
MimeKit

BouncyCastleCertificateExtensionsGetSubjectNameInfo Method

Gets the issuer name info.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public static string GetSubjectNameInfo(
	this X509Certificate certificate,
	DerObjectIdentifier identifier
)

Parameters

certificate  X509Certificate
The certificate.
identifier  DerObjectIdentifier
The name identifier.

Return Value

String
The issuer name info.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type X509Certificate. 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).
Exceptions
ExceptionCondition
ArgumentNullExceptioncertificate is null.
Remarks
For a list of available identifiers, see X509Name.
See Also