|
||||||||||
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.MessageDigestAttribute
MessageDigestAttribute is Signed Attribute and is used for creating CMS object for signed messages. It defines the type of digest used in CMS object in information about particular signing.
Constructor Summary | |
MessageDigestAttribute(byte[] message0,
java.lang.String digestAlg0)
Performes construction and digesting of message in the same time |
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 MessageDigestAttribute(byte[] message0, java.lang.String digestAlg0) throws SMIMEException
message0
- input massage for digest algorithmdigestAlg0
- object identifier name for digest algorithm (for
example "SHA1")SMIMEException
- caused by non SMIME exception which is
NoSuchAlgorithmException if invalid digestAlg0 parameter is passed to the
constructor. Also, exception could be thrown by super class constructor or
by super class addContent method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |