|
||||||||||
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.DEROctetString | +--org.webdocwf.util.smime.cms.SignatureValue
SignatureValue class is DER encoded octet string for holding signature
values represented in ASN.1 notation according to RFC2630.
SignatureValue ::= OCTET STRING
Constructor Summary | |
SignatureValue(byte[] forSigning0,
java.security.PrivateKey key0,
java.lang.String signAlg0)
For creating signature values necessary information are: data for signing as byte array, type of signing algorithm, and private key for performing of asymmetric encryption. |
Methods inherited from class org.webdocwf.util.smime.der.DERObject |
getContentOctets, getContentPartSize, getDEREncoded, 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 SignatureValue(byte[] forSigning0, java.security.PrivateKey key0, java.lang.String signAlg0) throws SMIMEException
forSigning0
- information for signingkey0
- private key (DSA or RSA depend on type of signing)signAlg0
- type of signing algorithm (can be SHA1_WITH_RSA, MD2_WITH_RSA,
MD5_WITH_RSA or SHA1_WITH_DSA).SMIMEException
- thrown in super class constructor.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |