Creates a
DOMSignedInfo
from the specified parameters.
Parameters:
-
cm - the canonicalization method
-
sm - the signature method
-
references - the list of references. The list is copied.
-
id - an optional identifer that will allow this
SignedInfo
to be referenced by other signatures and
objects
Throws:
-
NullPointerException - if
cm
,
sm
,
or
references
is
null
-
IllegalArgumentException - if
references
is empty
-
ClassCastException - if any of the references are not of
type
Reference