protected
DOMSignatureMethod
(String algorithm, AlgorithmParameterSpec params)
throws
InvalidAlgorithmParameterException
protectedabstract void
checkParams
(SignatureMethodParameterSpec params)
throws
InvalidAlgorithmParameterException
public void
marshal
(Node parent, String dsPrefix, DOMCryptoContext context)
throws
MarshalException
[Specified in DOMStructure]
marshalParams
method to marshal any algorithm-specific parameters.
publicabstract byte
sign
(Key key, DOMSignedInfo si, XMLSignContext context)
throws
InvalidKeyException
XMLSignatureException
protectedabstract SignatureMethodParameterSpec
unmarshalParams
(Element paramsElem)
throws
MarshalException
publicabstract boolean
verify
(Key key, DOMSignedInfo si, byte[] signature, XMLValidateContext context)
throws
InvalidKeyException
SignatureException
XMLSignatureException
publicfinalstatic
String DSA_SHA1
= "http://www.w3.org/2000/09/xmldsig#dsa-sha1"
[Inherited From SignatureMethod]
publicfinalstatic
String HMAC_SHA1
= "http://www.w3.org/2000/09/xmldsig#hmac-sha1"
[Inherited From SignatureMethod]
publicfinalstatic
String RSA_SHA1
= "http://www.w3.org/2000/09/xmldsig#rsa-sha1"
[Inherited From SignatureMethod]