|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.cert.RoleAttribute
public class RoleAttribute
A role attribute of an attribute certificate contains permis roles.
Field Summary | |
---|---|
static String |
OID
Role attribute object identifier of an attribute certificate. |
Constructor Summary | |
---|---|
RoleAttribute(List<RoleDefinition> roles)
Creates a policy attribute from a list of roles. |
|
RoleAttribute(org.bouncycastle.x509.X509Attribute attribute)
Creates a role attribute from a X509Attribute . |
Method Summary | |
---|---|
org.bouncycastle.x509.X509Attribute |
getAttribute()
Returns the attribute. |
List<RoleDefinition> |
getRoles()
Returns all roles stored in this attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String OID
"1.2.826.0.1.3344810.1.1.14"
Constructor Detail |
---|
public RoleAttribute(org.bouncycastle.x509.X509Attribute attribute) throws org.bouncycastle.util.StreamParsingException
X509Attribute
.
org.bouncycastle.util.StreamParsingException
- If the role attribute could not be decoded correctly.public RoleAttribute(List<RoleDefinition> roles)
Method Detail |
---|
public List<RoleDefinition> getRoles()
public org.bouncycastle.x509.X509Attribute getAttribute()
getAttribute
in interface Attribute
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG