| |
|
| java.lang.Object org.bouncycastle.asn1.ASN1Encodable org.bouncycastle.asn1.x509.RoleSyntax
RoleSyntax | public class RoleSyntax extends ASN1Encodable (Code) | | Implementation of the RoleSyntax object as specified by the RFC3281.
RoleSyntax ::= SEQUENCE {
roleAuthority [0] GeneralNames OPTIONAL,
roleName [1] GeneralName
}
|
RoleSyntax | public RoleSyntax(GeneralNames roleAuthority, GeneralName roleName)(Code) | | Constructor.
Parameters: roleAuthority - the role authority of this RoleSyntax. Parameters: roleName - the role name of this RoleSyntax. |
RoleSyntax | public RoleSyntax(GeneralName roleName)(Code) | | Constructor. Invoking this constructor is the same as invoking
new RoleSyntax(null, roleName) .
Parameters: roleName - the role name of this RoleSyntax. |
RoleSyntax | public RoleSyntax(String roleName)(Code) | | 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 .
Parameters: roleName - |
RoleSyntax | public RoleSyntax(ASN1Sequence seq)(Code) | | Constructor that builds an instance of RoleSyntax by
extracting the encoded elements from the ASN1Sequence
object supplied.
Parameters: seq - an instance of ASN1Sequence that holdsthe encoded elements used to build this RoleSyntax . |
getInstance | public static RoleSyntax getInstance(Object obj)(Code) | | RoleSyntax factory method.
Parameters: obj - the object used to construct an instance of RoleSyntax . It must be an instance of RoleSyntax or ASN1Sequence . the instance of RoleSyntax built from thesupplied object. throws: java.lang.IllegalArgumentException - if the object passedto the factory is not an instance of RoleSyntax orASN1Sequence . |
getRoleAuthority | public GeneralNames getRoleAuthority()(Code) | | Gets the role authority of this RoleSyntax.
an instance of GeneralNames holding therole authority of this RoleSyntax. |
getRoleAuthorityAsString | public String[] getRoleAuthorityAsString()(Code) | | Gets the role authority as a String[] object.
the role authority of this RoleSyntax represented as aString[] array. |
getRoleName | public GeneralName getRoleName()(Code) | | Gets the role name of this RoleSyntax.
an instance of GeneralName holding therole name of this RoleSyntax. |
getRoleNameAsString | public String getRoleNameAsString()(Code) | | Gets the role name as a java.lang.String object.
the role name of this RoleSyntax represented as a java.lang.String object. |
toASN1Object | public DERObject toASN1Object()(Code) | | Implementation of the method toASN1Object as
required by the superclass ASN1Encodable .
RoleSyntax ::= SEQUENCE {
roleAuthority [0] GeneralNames OPTIONAL,
roleName [1] GeneralName
}
|
|
|
|