Returns a
KeyInfoFactory
that supports the
requested XML processing mechanism and representation type (ex: "DOM"),
as supplied by the specified provider. Note that the specified
Provider
object does not have to be registered in the
provider list.
Returns:
a new
KeyInfoFactory
Parameters:
-
mechanismType - the type of the XML processing mechanism and
representation. See the
Service Providers section of the API overview for a list of
standard mechanism types.
-
provider - the
Provider
object
Throws:
-
NullPointerException - if
mechanismType
or
provider
are
null
-
NoSuchMechanismException - if a
KeyInfoFactory
implementation for the specified mechanism is not available from the
specified
Provider
object
See Also:
Provider
,