API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.crypto.dsig. XMLSignatureFactory View Source
Author(s)
Sean Mullan
JSR 105 Expert Group
Since
1.6
Version
Serial
Hierarchy
 Object
      XMLSignatureFactory
Implements
Subclasses
Description
publicabstract abstract class XMLSignatureFactory
  A factory for creating XMLSignature objects from scratch or for unmarshalling an XMLSignature object from a corresponding XML representation.
See also:   
Constructors
protected XMLSignatureFactory ()
Default constructor, for invocation by subclasses.
Methods
Hide/Show inherited methods
publicstatic XMLSignatureFactory getInstance ()
  Returns an XMLSignatureFactory that supports the default XML processing mechanism and representation type ("DOM").
publicstatic XMLSignatureFactory getInstance (String mechanismType)
  Returns an XMLSignatureFactory that supports the specified XML processing mechanism and representation type (ex: "DOM").
publicstatic XMLSignatureFactory getInstance (String mechanismType, Provider provider)
  Returns an XMLSignatureFactory that supports the requested XML processing mechanism and representation type (ex: "DOM"), as supplied by the specified provider.
publicstatic XMLSignatureFactory getInstance (String mechanismType, String provider) throws NoSuchProviderException
  Returns an XMLSignatureFactory that supports the requested XML processing mechanism and representation type (ex: "DOM"), as supplied by the specified provider.
publicfinal KeyInfoFactory getKeyInfoFactory ()
  Returns a KeyInfoFactory that creates KeyInfo objects.
publicfinal String getMechanismType ()
  Returns the type of the XML processing mechanism and representation supported by this XMLSignatureFactory (ex: "DOM").
publicfinal Provider getProvider ()
  Returns the provider of this XMLSignatureFactory.
publicabstract URIDereferencer getURIDereferencer ()
  Returns a reference to the URIDereferencer that is used by default to dereference URIs in Reference objects.
publicabstract boolean isFeatureSupported (String feature)
  Indicates whether a specified feature is supported.
publicabstract CanonicalizationMethod newCanonicalizationMethod (String algorithm, C14NMethodParameterSpec params) throws NoSuchAlgorithmException InvalidAlgorithmParameterException
  Creates a CanonicalizationMethod for the specified algorithm URI and parameters.
publicabstract CanonicalizationMethod newCanonicalizationMethod (String algorithm, XMLStructure params) throws NoSuchAlgorithmException InvalidAlgorithmParameterException
  Creates a CanonicalizationMethod for the specified algorithm URI and parameters.
publicabstract DigestMethod newDigestMethod (String algorithm, DigestMethodParameterSpec params) throws NoSuchAlgorithmException InvalidAlgorithmParameterException
  Creates a DigestMethod for the specified algorithm URI and parameters.
publicabstract Manifest newManifest (List references)
  Creates a Manifest containing the specified list of References.
publicabstract Manifest newManifest (List references, String id)
  Creates a Manifest containing the specified list of References and optional id.
publicabstract Reference newReference (String uri, DigestMethod dm)
  Creates a Reference with the specified URI and digest method.
publicabstract Reference newReference (String uri, DigestMethod dm, List appliedTransforms, Data result, List transforms, String type, String id)
  Creates a Reference with the specified parameters.
publicabstract Reference newReference (String uri, DigestMethod dm, List transforms, String type, String id)
  Creates a Reference with the specified parameters.
publicabstract Reference newReference (String uri, DigestMethod dm, List transforms, String type, String id, byte[] digestValue)
  Creates a Reference with the specified parameters and pre-calculated digest value.
publicabstract SignatureMethod newSignatureMethod (String algorithm, SignatureMethodParameterSpec params) throws NoSuchAlgorithmException InvalidAlgorithmParameterException
  Creates a SignatureMethod for the specified algorithm URI and parameters.
publicabstract SignatureProperties newSignatureProperties (List properties, String id)
  Creates a SignatureProperties containing the specified list of SignaturePropertys and optional id.
publicabstract SignatureProperty newSignatureProperty (List content, String target, String id)
  Creates a SignatureProperty containing the specified list of XMLStructures, target URI and optional id.
publicabstract SignedInfo newSignedInfo (CanonicalizationMethod cm, SignatureMethod sm, List references)
  Creates a SignedInfo with the specified canonicalization and signature methods, and list of one or more references.
publicabstract SignedInfo newSignedInfo (CanonicalizationMethod cm, SignatureMethod sm, List references, String id)
  Creates a SignedInfo with the specified parameters.
publicabstract Transform newTransform (String algorithm, TransformParameterSpec params) throws NoSuchAlgorithmException InvalidAlgorithmParameterException
  Creates a Transform for the specified algorithm URI and parameters.
publicabstract Transform newTransform (String algorithm, XMLStructure params) throws NoSuchAlgorithmException InvalidAlgorithmParameterException
  Creates a Transform for the specified algorithm URI and parameters.
publicabstract XMLObject newXMLObject (List content, String id, String mimeType, String encoding)
  Creates an XMLObject from the specified parameters.
publicabstract XMLSignature newXMLSignature (SignedInfo si, KeyInfo ki)
  Creates an XMLSignature and initializes it with the contents of the specified SignedInfo and KeyInfo objects.
publicabstract XMLSignature newXMLSignature (SignedInfo si, KeyInfo ki, List objects, String id, String signatureValueId)
  Creates an XMLSignature and initializes it with the specified parameters.
publicabstract XMLSignature unmarshalXMLSignature (XMLStructure xmlStructure) throws MarshalException
  Unmarshals a new XMLSignature instance from a mechanism-specific XMLStructure instance.
publicabstract XMLSignature unmarshalXMLSignature (XMLValidateContext context) throws MarshalException
  Unmarshals a new XMLSignature instance from a mechanism-specific XMLValidateContext instance.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar