|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectissrg.ac.AttributeValue
issrg.ac.DistinctAttribute
issrg.ac.attributes.PMIXMLPolicy
public class PMIXMLPolicy
This is the class for the PMI XML Policy attribute.
Field Summary | |
---|---|
static java.lang.String |
PMI_XML_POLICY_ATTRIBUTE_OID
This is the OID of the Attribute |
protected java.lang.String |
policy
|
Fields inherited from class issrg.ac.AttributeValue |
---|
data |
Constructor Summary | |
---|---|
protected |
PMIXMLPolicy()
|
|
PMIXMLPolicy(iaik.asn1.ASN1Object ao)
This constructor builds a PMIXMLPolicy given ASN1Object of its value. |
|
PMIXMLPolicy(AttributeValue av)
This constructor builds a PMIXMLPolicy given a parsed AttributeValue. |
|
PMIXMLPolicy(PMIXMLPolicy p)
This constructor creates a copy of a given PMIXMLPolicy. |
|
PMIXMLPolicy(java.lang.String p)
This constructor creates a PMIXMLPolicy given a Policy XML as a String. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
decode(iaik.asn1.ASN1Object ao)
This method decodes a given ASN1Object and sets the policy XML as the value of this ASN1Object. |
java.lang.String |
getPolicy()
Returns the XML of the Policy as a String. |
static void |
registerMe()
This method registers this class with the Attribute class, so it will automatically pick up the class for parsing PMI XML Policies. |
void |
setPolicy(java.lang.String policy)
Sets the XML of the Policy as a String. |
iaik.asn1.ASN1Object |
toASN1Object()
This method returns the ASN1Object of the PMIXMLPolicy attribute value. |
java.lang.String |
toString(int indent)
|
Methods inherited from class issrg.ac.DistinctAttribute |
---|
isDecoded |
Methods inherited from class issrg.ac.AttributeValue |
---|
getRawAttribute, 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 PMI_XML_POLICY_ATTRIBUTE_OID
protected java.lang.String policy
Constructor Detail |
---|
protected PMIXMLPolicy()
public PMIXMLPolicy(iaik.asn1.ASN1Object ao) throws iaik.asn1.CodingException
ao
- - ASN1Object of the value of the PMIXMLPolicy attribute
iaik.asn1.CodingException
public PMIXMLPolicy(AttributeValue av) throws iaik.asn1.CodingException
av
- - AttributeValue of the PMIXMLPolicy attribute
iaik.asn1.CodingException
public PMIXMLPolicy(PMIXMLPolicy p)
p
- - the PMIXMLPolicy to copypublic PMIXMLPolicy(java.lang.String p)
p
- - the XML of the PolicyMethod Detail |
---|
public static void registerMe()
public java.lang.String getPolicy()
public void setPolicy(java.lang.String policy)
public iaik.asn1.ASN1Object toASN1Object()
toASN1Object
in interface iaik.asn1.ASN1Type
toASN1Object
in class AttributeValue
public void decode(iaik.asn1.ASN1Object ao) throws iaik.asn1.CodingException
decode
in interface iaik.asn1.ASN1Type
decode
in class AttributeValue
ao
- - the ASN1Object; must be a UTF8String or PrintableString whose
value is the policy XML
iaik.asn1.CodingException
public java.lang.String toString(int indent)
public java.lang.Object clone()
clone
in class AttributeValue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |