|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.webdocwf.util.smime.der.DERObject | +--org.webdocwf.util.smime.der.DERSequencePr | +--org.webdocwf.util.smime.cms.Attribute | +--org.webdocwf.util.smime.cms.ContentTypeAttribute
Content Type Attribute is Signed Attribute and is used for creating CMS objects for signed messages. It defines type of content (message) used in CMS objects in information about particular signing.
Constructor Summary | |
ContentTypeAttribute(int[] arrayID0)
Array of numbers is used for construction of desired attribute DER Object Identifier. |
|
ContentTypeAttribute(java.lang.String id0,
java.lang.String typeConstruction0)
This constructor has two different forms, depend on parameter typeConstruction0, which can be: DOT_SEPARATED_ARRAY or NAME_STRING. |
Methods inherited from class org.webdocwf.util.smime.cms.Attribute |
addContent, getDEREncoded |
Methods inherited from class org.webdocwf.util.smime.der.DERObject |
getContentOctets, getContentPartSize, getIdentifierOctet, getLengthOctets, getLengthPartSize, getTagClassType, getTagComplexity, getTagTypeNumber, getTotalSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContentTypeAttribute(java.lang.String id0, java.lang.String typeConstruction0) throws SMIMEException
id0
- defines Object Identifier in representation determined by second
parameter - typeConstruction0.typeOfAttribute0
- can take values DOT_SEPARATED_ARRAY and NAME_STRINGSMIMEException
- if wrong type of parameters are passed to the
constructor. Also, it can be thrown from super class constructor or its
addContent method.public ContentTypeAttribute(int[] arrayID0) throws SMIMEException
arrayID0
- is array of defined numbers (example: for ID_DATA
attributes, numbers are 1, 2, 840, 113549, 1, 7 and 1)SMIMEException
- if wrong type of parameters are passed to the
constructor. Also, it can be thrown from super class constructor or its
addContent method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |