API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.jcp.xml.dsig.internal.dom. DOMHMACSignatureMethod View Source
Author(s)
Sean Mullan
Since
Version
Serial
Hierarchy
 Object
      DOMStructure
          DOMSignatureMethod
              DOMHMACSignatureMethod
Implements
Subclasses
Description
publicfinal class DOMHMACSignatureMethod
DOM-based implementation of HMAC SignatureMethod.
See also:   
Constructors
public DOMHMACSignatureMethod (AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException NoSuchAlgorithmException
  Creates a DOMHMACSignatureMethod with the specified params
public DOMHMACSignatureMethod (Element smElem) throws MarshalException
  Creates a DOMHMACSignatureMethod from an element.
Methods
Hide/Show inherited methods
protected void checkParams (SignatureMethodParameterSpec params) throws InvalidAlgorithmParameterException [Specified in DOMSignatureMethod]
public boolean equals (Object o) [Inherited From DOMSignatureMethod]
publicfinal String getAlgorithm () [Inherited From DOMSignatureMethod]
publicfinal AlgorithmParameterSpec getParameterSpec () [Inherited From DOMSignatureMethod]
publicfinal boolean isFeatureSupported (String feature) [Inherited From DOMStructure]
public void marshal (Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException [Inherited From DOMSignatureMethod] [Specified in DOMStructure]
This method invokes the abstract marshalParams method to marshal any algorithm-specific parameters.
protected void marshalParams (Element parent, String prefix) throws MarshalException [Specified in DOMSignatureMethod]
public boolean paramsEqual (AlgorithmParameterSpec spec) [Specified in DOMSignatureMethod]
public byte sign (Key key, DOMSignedInfo si, XMLSignContext context) throws InvalidKeyException XMLSignatureException [Specified in DOMSignatureMethod]
pack-privatestatic SignatureMethod unmarshal (Element smElem) throws MarshalException [Inherited From DOMSignatureMethod]
protected SignatureMethodParameterSpec unmarshalParams (Element paramsElem) throws MarshalException [Specified in DOMSignatureMethod]
public boolean verify (Key key, DOMSignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException SignatureException XMLSignatureException [Specified in DOMSignatureMethod]
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar