|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectissrg.ac.Extension
issrg.ac.attributes.BasicAttConstraint
public class BasicAttConstraint
| Field Summary | |
|---|---|
static java.lang.String |
BASIC_ATT_CONSTRAINT_OID
The string stores the standard OID for the basicAttConstraints: 2.5.29.41 |
| Fields inherited from class issrg.ac.Extension |
|---|
critical, extnID, Null, theObject |
| Constructor Summary | |
|---|---|
BasicAttConstraint(BasicAttConstraint e)
Constructor for the class from an existing basicAttConstraints object |
|
BasicAttConstraint(boolean critical)
This constructor builds a BasicAttributeConstraint extension with no limit on Delegation depth. |
|
BasicAttConstraint(boolean critical,
int depth)
This constructor builds a BasicAttributeConstraint extension with the specified limit on Delegation depth. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
void |
decodeValue(ASN1Object ao)
This method decodes an ASN1Object to get an extension value for the BasicAttConstraint object. |
ASN1Object |
encodeValue()
This method encodes the extension value of this extension to an ASN1Object. |
java.lang.String |
extensionValueToString(java.lang.String ident)
This method returns a string that represents the object |
int |
getDepth()
This method returns the delegation depth of the basicAttConstraints object |
static void |
registerMe()
This method registers this extension as an extension with a specific OID. |
void |
setDepth(int d)
This method set the delegation depth for the object. |
| Methods inherited from class issrg.ac.Extension |
|---|
decode, getExtensionOID, getExtensionValue, isCritical, setCritical, setExtensionOID, setExtensionValue, toASN1Object, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BASIC_ATT_CONSTRAINT_OID
| Constructor Detail |
|---|
public BasicAttConstraint(BasicAttConstraint e)
throws CodingException
e - is a basicAttConstraint object
CodingExceptionpublic BasicAttConstraint(boolean critical)
critical - is a boolean value that specifies the critical of the object
public BasicAttConstraint(boolean critical,
int depth)
critical - - the criticality flag; if true, the extension is marked criticaldepth - - the depth of delegationfor explanation of depth values| Method Detail |
|---|
public static void registerMe()
public int getDepth()
public void setDepth(int d)
d - is an integer. It is used for setting the delegation depth for the object
If negative, no limit on the delegation depth will be set; if zero,
delegation cannot continue after the first level of delegates
(can delegate one level down, and no further - the delegates cannot
have BasicAttConstraint extension); if any positive
number, delegation chain can be that many steps long after the first
level of delegates (the first level of delegates can delegate that
many levels down).
public ASN1Object encodeValue()
throws CodingException
encodeValue in class ExtensionCodingExceptionpublic java.lang.Object clone()
clone in class Extension
public void decodeValue(ASN1Object ao)
throws CodingException
decodeValue in class Extensionao - is the ASN1Object.
CodingExceptionpublic java.lang.String extensionValueToString(java.lang.String ident)
extensionValueToString in class Extensionident - is a string that used for seperating the critical value and the delegation depth of the object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||