java.lang.Object | ||
↳ | org.bouncycastle.asn1.ASN1Encodable | |
↳ | org.bouncycastle.asn1.x509.RoleSyntax |
Implementation of the RoleSyntax object as specified by the RFC3281.
RoleSyntax ::= SEQUENCE { roleAuthority [0] GeneralNames OPTIONAL, roleName [1] GeneralName }
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
Constructor.
| |||||||||||
Utility constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RoleSyntax factory method.
| |||||||||||
Gets the role authority of this RoleSyntax.
| |||||||||||
Gets the role authority as a
String[] object. | |||||||||||
Gets the role name of this RoleSyntax.
| |||||||||||
Gets the role name as a
java.lang.String object. | |||||||||||
Implementation of the method
toASN1Object as
required by the superclass ASN1Encodable . | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.asn1.DEREncodable
|
Constructor.
roleAuthority | the role authority of this RoleSyntax. |
---|---|
roleName | the role name of this RoleSyntax. |
Constructor. Invoking this constructor is the same as invoking
new RoleSyntax(null, roleName)
.
roleName | the role name of this RoleSyntax. |
---|
Utility constructor. Takes a String
argument representing
the role name, builds a GeneralName
to hold the role name
and calls the constructor that takes a GeneralName
.
RoleSyntax factory method.
obj | the object used to construct an instance of
RoleSyntax . It must be an instance of RoleSyntax
or ASN1Sequence . |
---|
RoleSyntax
built from the
supplied object.IllegalArgumentException | if the object passed
to the factory is not an instance of RoleSyntax or
ASN1Sequence .
|
---|
Gets the role authority of this RoleSyntax.
GeneralNames
holding the
role authority of this RoleSyntax.
Gets the role authority as a String[]
object.
String[]
array.
Gets the role name of this RoleSyntax.
GeneralName
holding the
role name of this RoleSyntax.
Gets the role name as a java.lang.String
object.
java.lang.String
object.
Implementation of the method toASN1Object
as
required by the superclass ASN1Encodable
.
RoleSyntax ::= SEQUENCE { roleAuthority [0] GeneralNames OPTIONAL, roleName [1] GeneralName }