API Overview
API Index
Package Overview
Direct link to this page
JDK 1.6
org.jcp.xml.dsig.internal.dom.
DOMSHADigestMethod
View Source
Author(s)
Sean Mullan
Since
Version
Serial
Hierarchy
Object
DOMStructure
DOMDigestMethod
DOMSHADigestMethod
Implements
Subclasses
See DIRECT subclasses
Quick Links:
Constructors
Methods
Fields
NestedClasses
Description
public
abstract
abstract class DOMSHADigestMethod
DOM-based implementation of DigestMethod for the SHA1, SHA256 and SHA512 algorithms.
See also:
Constructors
protected
DOMSHADigestMethod
(
AlgorithmParameterSpec
params) throws
InvalidAlgorithmParameterException
Creates a
DOMSHADigestMethod
.
protected
DOMSHADigestMethod
(
Element
dmElem) throws
MarshalException
Creates a
DOMSHADigestMethod
from an element.
Creates a
DOMSHADigestMethod
from an element.
Parameters:
-
dmElem
- a DigestMethod element
Methods
Hide/Show inherited methods
protected
void
checkParams
(
DigestMethodParameterSpec
params) throws
InvalidAlgorithmParameterException
[Specified in
DOMDigestMethod
]
public
boolean
equals
(
Object
o)
[Inherited From
DOMDigestMethod
]
pack-private
abstract
String
getMessageDigestAlgorithm
()
[Inherited From
DOMDigestMethod
]
Returns the MessageDigest standard algorithm name.
pack-private
abstract
String
getName
()
Returns the name of the DigestMethod algorithm.
public
final
AlgorithmParameterSpec
getParameterSpec
()
[Inherited From
DOMDigestMethod
]
public
final
boolean
isFeatureSupported
(
String
feature)
[Inherited From
DOMStructure
]
public
void
marshal
(
Node
parent,
String
prefix,
DOMCryptoContext
context) throws
MarshalException
[Inherited From
DOMDigestMethod
]
[Specified in
DOMStructure
]
This method invokes the abstract
marshalParams
method to marshal any algorithm-specific parameters.
protected
void
marshalParams
(
Element
parent,
String
dsPrefix) throws
MarshalException
[Specified in
DOMDigestMethod
]
pack-private
final
static
DOMSHADigestMethod
SHA1
(
AlgorithmParameterSpec
params) throws
InvalidAlgorithmParameterException
Returns a SHA1 DigestMethod.
pack-private
final
static
DOMSHADigestMethod
SHA1
(
Element
dmElem) throws
MarshalException
pack-private
final
static
DOMSHADigestMethod
SHA256
(
AlgorithmParameterSpec
params) throws
InvalidAlgorithmParameterException
Returns a SHA256 DigestMethod.
pack-private
final
static
DOMSHADigestMethod
SHA256
(
Element
dmElem) throws
MarshalException
pack-private
final
static
DOMSHADigestMethod
SHA512
(
AlgorithmParameterSpec
params) throws
InvalidAlgorithmParameterException
Returns a SHA512 DigestMethod.
pack-private
final
static
DOMSHADigestMethod
SHA512
(
Element
dmElem) throws
MarshalException
pack-private
static
DigestMethod
unmarshal
(
Element
dmElem) throws
MarshalException
[Inherited From
DOMDigestMethod
]
protected
DigestMethodParameterSpec
unmarshalParams
(
Element
paramsElem) throws
MarshalException
[Specified in
DOMDigestMethod
]
Fields
Hide/Show inherited fields
pack-private
static
Logger
log
Nested Classes
Generated By:
JavaOnTracks Doclet
0.1.4 ©Thibaut Colar