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
roleNameGeneralName
RoleSyntax(GeneralNames, GeneralName)
public RoleSyntax(GeneralNames roleAuthority, GeneralName roleName)
Parameters
roleAuthorityGeneralNamesroleNameGeneralName
RoleSyntax(string)
public RoleSyntax(string roleName)
Parameters
roleNamestring
Properties
RoleAuthority
public GeneralNames RoleAuthority { get; }
Property Value
RoleName
public GeneralName RoleName { get; }
Property Value
Methods
GetInstance(Asn1TaggedObject, bool)
public static RoleSyntax GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObjectAsn1TaggedObjectdeclaredExplicitbool
Returns
GetInstance(object)
public static RoleSyntax GetInstance(object obj)
Parameters
objobject
Returns
GetRoleAuthorityAsString()
public string[] GetRoleAuthorityAsString()
Returns
- string[]
GetRoleNameAsString()
public string GetRoleNameAsString()
Returns
GetTagged(Asn1TaggedObject, bool)
public static RoleSyntax GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObjectAsn1TaggedObjectdeclaredExplicitbool
Returns
ToAsn1Object()
public override Asn1Object ToAsn1Object()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.