Table of Contents

Class RoleSyntax

Namespace
Org.BouncyCastle.Asn1.X509
Assembly
BouncyCastle.Cryptography.dll
public class RoleSyntax : Asn1Encodable, IAsn1Convertible
Inheritance
RoleSyntax
Implements
Inherited Members

Constructors

RoleSyntax(GeneralName)

public RoleSyntax(GeneralName roleName)

Parameters

roleName GeneralName

RoleSyntax(GeneralNames, GeneralName)

public RoleSyntax(GeneralNames roleAuthority, GeneralName roleName)

Parameters

roleAuthority GeneralNames
roleName GeneralName

RoleSyntax(string)

public RoleSyntax(string roleName)

Parameters

roleName string

Properties

RoleAuthority

public GeneralNames RoleAuthority { get; }

Property Value

GeneralNames

RoleName

public GeneralName RoleName { get; }

Property Value

GeneralName

Methods

GetInstance(Asn1TaggedObject, bool)

public static RoleSyntax GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

RoleSyntax

GetInstance(object)

public static RoleSyntax GetInstance(object obj)

Parameters

obj object

Returns

RoleSyntax

GetRoleAuthorityAsString()

public string[] GetRoleAuthorityAsString()

Returns

string[]

GetRoleNameAsString()

public string GetRoleNameAsString()

Returns

string

GetTagged(Asn1TaggedObject, bool)

public static RoleSyntax GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

RoleSyntax

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.