|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.ac.Extension issrg.ac.attributes.IssuedOnBehalfOf
public class IssuedOnBehalfOf
Field Summary | |
---|---|
static java.lang.String |
ISSUED_ON_BEHALF_OF_OID
The string stores the standard OID for the IssuedOnBehalfOf extension: 2.5.29.64 |
Fields inherited from class issrg.ac.Extension |
---|
critical, extnID, Null, theObject |
Constructor Summary | |
---|---|
IssuedOnBehalfOf(boolean critical,
iaik.asn1.structures.GeneralName iobo)
Creates a new instance of IssuedOnBehalfOf based on paramters. |
|
IssuedOnBehalfOf(IssuedOnBehalfOf e)
Creates a new instance of IssuedOnBehalfOf based on an existing IssuedOnBehalfOf extension |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
decodeValue(ASN1Object ao)
This methods decodes an ASN1Object to get an extension value of the IssuedOnBehalfOf object. |
ASN1Object |
encodeValue()
This method encodes the extension value of the IssuedOnBehalfOf object to an ASN1Object. |
java.lang.String |
extensionValueToString(java.lang.String indent)
This method returns a string that represents the requestor's DN in the form: "IssuedOnBehalfOf" + requestor's DN This method is used for debuging purposes |
GeneralName |
getIssuedOnBehalfOf()
This method returns a GeneralName object that represents the requestor |
java.lang.String |
getIssuerDN()
This method returns the requestor's DN |
static void |
registerMe()
This method registers this extension as an extension with a specific OID. |
void |
setIssuedOnBehalfOf(GeneralName gn)
This method is used for setting the GeneralName of the requester. |
void |
setIssuerDN(java.lang.String dn)
This method set the requester's DN. |
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 ISSUED_ON_BEHALF_OF_OID
Constructor Detail |
---|
public IssuedOnBehalfOf(IssuedOnBehalfOf e) throws iaik.asn1.CodingException
e
- is an existing IssuedOnBehalfOf extension
iaik.asn1.CodingException
public IssuedOnBehalfOf(boolean critical, iaik.asn1.structures.GeneralName iobo)
critical
- is a boolean value. It is a flag of the extension that tells
the criticality of the extension.iobo
- is a GeneralName object that stores the ID of the requester.Method Detail |
---|
public static void registerMe()
public java.lang.Object clone()
clone
in class Extension
public ASN1Object encodeValue() throws CodingException
encodeValue
in class Extension
CodingException
public void decodeValue(ASN1Object ao) throws CodingException
decodeValue
in class Extension
ao
- is an ASN1Object to be decoded.
CodingException
public void setIssuedOnBehalfOf(GeneralName gn)
gn
- is the GeneralName of the requester.public void setIssuerDN(java.lang.String dn) throws iaik.utils.RFC2253NameParserException
dn
- is a string that represents the requester's DN.
iaik.utils.RFC2253NameParserException
public java.lang.String getIssuerDN()
public GeneralName getIssuedOnBehalfOf()
public java.lang.String extensionValueToString(java.lang.String indent)
extensionValueToString
in class Extension
indent
- - the indentation to use at the beginning of each line to
make the text human-friendly
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |