<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.2" />

Org.BouncyCastle.Asn1.X509.RoleSyntax

public class RoleSyntax : Asn1Encodable
namespace Org.BouncyCastle.Asn1.X509 { public class RoleSyntax : Asn1Encodable { public GeneralNames RoleAuthority { get; } public GeneralName RoleName { get; } public static RoleSyntax GetInstance(object obj); public static RoleSyntax GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit); public static RoleSyntax GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit); public RoleSyntax(GeneralNames roleAuthority, GeneralName roleName); public RoleSyntax(GeneralName roleName); public RoleSyntax(string roleName); public string GetRoleNameAsString(); public string[] GetRoleAuthorityAsString(); } }