public final class DOMXMLSignatureFactory extends XMLSignatureFactory
Constructor and Description |
---|
DOMXMLSignatureFactory()
Initializes a new instance of this class.
|
getInstance, getInstance, getInstance, getInstance, getKeyInfoFactory, getMechanismType, getProvider
public DOMXMLSignatureFactory()
public XMLSignature newXMLSignature(SignedInfo si, KeyInfo ki)
newXMLSignature
in class XMLSignatureFactory
public XMLSignature newXMLSignature(SignedInfo si, KeyInfo ki, List objects, String id, String signatureValueId)
newXMLSignature
in class XMLSignatureFactory
public Reference newReference(String uri, DigestMethod dm)
newReference
in class XMLSignatureFactory
public Reference newReference(String uri, DigestMethod dm, List transforms, String type, String id)
newReference
in class XMLSignatureFactory
public Reference newReference(String uri, DigestMethod dm, List appliedTransforms, Data result, List transforms, String type, String id)
newReference
in class XMLSignatureFactory
public Reference newReference(String uri, DigestMethod dm, List transforms, String type, String id, byte[] digestValue)
newReference
in class XMLSignatureFactory
public SignedInfo newSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, List references)
newSignedInfo
in class XMLSignatureFactory
public SignedInfo newSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, List references, String id)
newSignedInfo
in class XMLSignatureFactory
public XMLObject newXMLObject(List content, String id, String mimeType, String encoding)
newXMLObject
in class XMLSignatureFactory
public Manifest newManifest(List references)
newManifest
in class XMLSignatureFactory
public Manifest newManifest(List references, String id)
newManifest
in class XMLSignatureFactory
public SignatureProperties newSignatureProperties(List props, String id)
newSignatureProperties
in class XMLSignatureFactory
public SignatureProperty newSignatureProperty(List info, String target, String id)
newSignatureProperty
in class XMLSignatureFactory
public XMLSignature unmarshalXMLSignature(XMLValidateContext context) throws MarshalException
unmarshalXMLSignature
in class XMLSignatureFactory
MarshalException
public XMLSignature unmarshalXMLSignature(XMLStructure xmlStructure) throws MarshalException
unmarshalXMLSignature
in class XMLSignatureFactory
MarshalException
public boolean isFeatureSupported(String feature)
isFeatureSupported
in class XMLSignatureFactory
public DigestMethod newDigestMethod(String algorithm, DigestMethodParameterSpec params) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
newDigestMethod
in class XMLSignatureFactory
NoSuchAlgorithmException
InvalidAlgorithmParameterException
public SignatureMethod newSignatureMethod(String algorithm, SignatureMethodParameterSpec params) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
newSignatureMethod
in class XMLSignatureFactory
NoSuchAlgorithmException
InvalidAlgorithmParameterException
public Transform newTransform(String algorithm, TransformParameterSpec params) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
newTransform
in class XMLSignatureFactory
NoSuchAlgorithmException
InvalidAlgorithmParameterException
public Transform newTransform(String algorithm, XMLStructure params) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
newTransform
in class XMLSignatureFactory
NoSuchAlgorithmException
InvalidAlgorithmParameterException
public CanonicalizationMethod newCanonicalizationMethod(String algorithm, C14NMethodParameterSpec params) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
newCanonicalizationMethod
in class XMLSignatureFactory
NoSuchAlgorithmException
InvalidAlgorithmParameterException
public CanonicalizationMethod newCanonicalizationMethod(String algorithm, XMLStructure params) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
newCanonicalizationMethod
in class XMLSignatureFactory
NoSuchAlgorithmException
InvalidAlgorithmParameterException
public URIDereferencer getURIDereferencer()
getURIDereferencer
in class XMLSignatureFactory
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.