Table of Contents

Class XMLSignatureFactory

Namespace
Javax.Xml.Crypto.Dsig
Assembly
MASES.JNet.dll
public class XMLSignatureFactory : JVMBridgeBase<XMLSignatureFactory>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<XMLSignatureFactory>
XMLSignatureFactory
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<XMLSignatureFactory>.IsAssignableFrom(IJavaType)
JVMBridgeBase<XMLSignatureFactory>.IsAssignableFrom<T>()
JVMBridgeBase<XMLSignatureFactory>.Execute<T>(params T[])
JVMBridgeBase<XMLSignatureFactory>.DynBridgeClazz
JVMBridgeBase<XMLSignatureFactory>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

XMLSignatureFactory()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("XMLSignatureFactory class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public XMLSignatureFactory()

XMLSignatureFactory(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("XMLSignatureFactory class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public XMLSignatureFactory(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Instance

public static XMLSignatureFactory Instance { get; }

Property Value

XMLSignatureFactory

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

KeyInfoFactory

public KeyInfoFactory KeyInfoFactory { get; }

Property Value

KeyInfoFactory

MechanismType

public String MechanismType { get; }

Property Value

String

Provider

public Provider Provider { get; }

Property Value

Provider

URIDereferencer

public URIDereferencer URIDereferencer { get; }

Property Value

URIDereferencer

Methods

GetInstance(String)

public static XMLSignatureFactory GetInstance(String arg0)

Parameters

arg0 String

String

Returns

XMLSignatureFactory

XMLSignatureFactory

GetInstance(String, String)

public static XMLSignatureFactory GetInstance(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

XMLSignatureFactory

XMLSignatureFactory

Exceptions

NoSuchProviderException

GetInstance(String, Provider)

public static XMLSignatureFactory GetInstance(String arg0, Provider arg1)

Parameters

arg0 String

String

arg1 Provider

Provider

Returns

XMLSignatureFactory

XMLSignatureFactory

IsFeatureSupported(String)

public bool IsFeatureSupported(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

NewCanonicalizationMethod(String, C14NMethodParameterSpec)

public CanonicalizationMethod NewCanonicalizationMethod(String arg0, C14NMethodParameterSpec arg1)

Parameters

arg0 String

String

arg1 C14NMethodParameterSpec

C14NMethodParameterSpec

Returns

CanonicalizationMethod

CanonicalizationMethod

Exceptions

NoSuchAlgorithmException
InvalidAlgorithmParameterException

NewCanonicalizationMethod(String, XMLStructure)

public CanonicalizationMethod NewCanonicalizationMethod(String arg0, XMLStructure arg1)

Parameters

arg0 String

String

arg1 XMLStructure

XMLStructure

Returns

CanonicalizationMethod

CanonicalizationMethod

Exceptions

NoSuchAlgorithmException
InvalidAlgorithmParameterException

NewDigestMethod(String, DigestMethodParameterSpec)

public DigestMethod NewDigestMethod(String arg0, DigestMethodParameterSpec arg1)

Parameters

arg0 String

String

arg1 DigestMethodParameterSpec

DigestMethodParameterSpec

Returns

DigestMethod

DigestMethod

Exceptions

NoSuchAlgorithmException
InvalidAlgorithmParameterException

NewManifest<Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference>(List<Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference>)

public Manifest NewManifest<Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference>(List<Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference> arg0) where Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference : Reference

Parameters

arg0 List<Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference>

List

Returns

Manifest

Manifest

Type Parameters

Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference

Reference

NewManifest<Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference>(List<Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference>, String)

public Manifest NewManifest<Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference>(List<Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference> arg0, String arg1) where Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference : Reference

Parameters

arg0 List<Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference>

List

arg1 String

String

Returns

Manifest

Manifest

Type Parameters

Arg0ExtendsJavax_Xml_Crypto_Dsig_Reference

Reference

NewReference(String, DigestMethod)

public Reference NewReference(String arg0, DigestMethod arg1)

Parameters

arg0 String

String

arg1 DigestMethod

DigestMethod

Returns

Reference

Reference

NewReference<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform>(String, DigestMethod, List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform>, String, String)

public Reference NewReference<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform>(String arg0, DigestMethod arg1, List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform> arg2, String arg3, String arg4) where Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform : Transform

Parameters

arg0 String

String

arg1 DigestMethod

DigestMethod

arg2 List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform>

List

arg3 String

String

arg4 String

String

Returns

Reference

Reference

Type Parameters

Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform

Transform

NewReference<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform>(String, DigestMethod, List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform>, String, String, byte[])

public Reference NewReference<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform>(String arg0, DigestMethod arg1, List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform> arg2, String arg3, String arg4, byte[] arg5) where Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform : Transform

Parameters

arg0 String

String

arg1 DigestMethod

DigestMethod

arg2 List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform>

List

arg3 String

String

arg4 String

String

arg5 byte[]

byte

Returns

Reference

Reference

Type Parameters

Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform

Transform

NewReference<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform, Arg4ExtendsJavax_Xml_Crypto_Dsig_Transform>(String, DigestMethod, List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform>, Data, List<Arg4ExtendsJavax_Xml_Crypto_Dsig_Transform>, String, String)

public Reference NewReference<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform, Arg4ExtendsJavax_Xml_Crypto_Dsig_Transform>(String arg0, DigestMethod arg1, List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform> arg2, Data arg3, List<Arg4ExtendsJavax_Xml_Crypto_Dsig_Transform> arg4, String arg5, String arg6) where Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform : Transform where Arg4ExtendsJavax_Xml_Crypto_Dsig_Transform : Transform

Parameters

arg0 String

String

arg1 DigestMethod

DigestMethod

arg2 List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform>

List

arg3 Data

Data

arg4 List<Arg4ExtendsJavax_Xml_Crypto_Dsig_Transform>

List

arg5 String

String

arg6 String

String

Returns

Reference

Reference

Type Parameters

Arg2ExtendsJavax_Xml_Crypto_Dsig_Transform

Transform

Arg4ExtendsJavax_Xml_Crypto_Dsig_Transform

Transform

NewSignatureMethod(String, SignatureMethodParameterSpec)

public SignatureMethod NewSignatureMethod(String arg0, SignatureMethodParameterSpec arg1)

Parameters

arg0 String

String

arg1 SignatureMethodParameterSpec

SignatureMethodParameterSpec

Returns

SignatureMethod

SignatureMethod

Exceptions

NoSuchAlgorithmException
InvalidAlgorithmParameterException

NewSignatureProperties<Arg0ExtendsJavax_Xml_Crypto_Dsig_SignatureProperty>(List<Arg0ExtendsJavax_Xml_Crypto_Dsig_SignatureProperty>, String)

public SignatureProperties NewSignatureProperties<Arg0ExtendsJavax_Xml_Crypto_Dsig_SignatureProperty>(List<Arg0ExtendsJavax_Xml_Crypto_Dsig_SignatureProperty> arg0, String arg1) where Arg0ExtendsJavax_Xml_Crypto_Dsig_SignatureProperty : SignatureProperty

Parameters

arg0 List<Arg0ExtendsJavax_Xml_Crypto_Dsig_SignatureProperty>

List

arg1 String

String

Returns

SignatureProperties

SignatureProperties

Type Parameters

Arg0ExtendsJavax_Xml_Crypto_Dsig_SignatureProperty

SignatureProperty

NewSignatureProperty<Arg0ExtendsJavax_Xml_Crypto_XMLStructure>(List<Arg0ExtendsJavax_Xml_Crypto_XMLStructure>, String, String)

public SignatureProperty NewSignatureProperty<Arg0ExtendsJavax_Xml_Crypto_XMLStructure>(List<Arg0ExtendsJavax_Xml_Crypto_XMLStructure> arg0, String arg1, String arg2) where Arg0ExtendsJavax_Xml_Crypto_XMLStructure : XMLStructure

Parameters

arg0 List<Arg0ExtendsJavax_Xml_Crypto_XMLStructure>

List

arg1 String

String

arg2 String

String

Returns

SignatureProperty

SignatureProperty

Type Parameters

Arg0ExtendsJavax_Xml_Crypto_XMLStructure

XMLStructure

NewSignedInfo<Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference>(CanonicalizationMethod, SignatureMethod, List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference>)

public SignedInfo NewSignedInfo<Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference>(CanonicalizationMethod arg0, SignatureMethod arg1, List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference> arg2) where Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference : Reference

Parameters

arg0 CanonicalizationMethod

CanonicalizationMethod

arg1 SignatureMethod

SignatureMethod

arg2 List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference>

List

Returns

SignedInfo

SignedInfo

Type Parameters

Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference

Reference

NewSignedInfo<Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference>(CanonicalizationMethod, SignatureMethod, List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference>, String)

public SignedInfo NewSignedInfo<Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference>(CanonicalizationMethod arg0, SignatureMethod arg1, List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference> arg2, String arg3) where Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference : Reference

Parameters

arg0 CanonicalizationMethod

CanonicalizationMethod

arg1 SignatureMethod

SignatureMethod

arg2 List<Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference>

List

arg3 String

String

Returns

SignedInfo

SignedInfo

Type Parameters

Arg2ExtendsJavax_Xml_Crypto_Dsig_Reference

Reference

NewTransform(String, TransformParameterSpec)

public Transform NewTransform(String arg0, TransformParameterSpec arg1)

Parameters

arg0 String

String

arg1 TransformParameterSpec

TransformParameterSpec

Returns

Transform

Transform

Exceptions

NoSuchAlgorithmException
InvalidAlgorithmParameterException

NewTransform(String, XMLStructure)

public Transform NewTransform(String arg0, XMLStructure arg1)

Parameters

arg0 String

String

arg1 XMLStructure

XMLStructure

Returns

Transform

Transform

Exceptions

NoSuchAlgorithmException
InvalidAlgorithmParameterException

NewXMLObject<Arg0ExtendsJavax_Xml_Crypto_XMLStructure>(List<Arg0ExtendsJavax_Xml_Crypto_XMLStructure>, String, String, String)

public XMLObject NewXMLObject<Arg0ExtendsJavax_Xml_Crypto_XMLStructure>(List<Arg0ExtendsJavax_Xml_Crypto_XMLStructure> arg0, String arg1, String arg2, String arg3) where Arg0ExtendsJavax_Xml_Crypto_XMLStructure : XMLStructure

Parameters

arg0 List<Arg0ExtendsJavax_Xml_Crypto_XMLStructure>

List

arg1 String

String

arg2 String

String

arg3 String

String

Returns

XMLObject

XMLObject

Type Parameters

Arg0ExtendsJavax_Xml_Crypto_XMLStructure

XMLStructure

NewXMLSignature(SignedInfo, KeyInfo)

public XMLSignature NewXMLSignature(SignedInfo arg0, KeyInfo arg1)

Parameters

arg0 SignedInfo

SignedInfo

arg1 KeyInfo

KeyInfo

Returns

XMLSignature

XMLSignature

NewXMLSignature<Arg2ExtendsJavax_Xml_Crypto_Dsig_XMLObject>(SignedInfo, KeyInfo, List<Arg2ExtendsJavax_Xml_Crypto_Dsig_XMLObject>, String, String)

public XMLSignature NewXMLSignature<Arg2ExtendsJavax_Xml_Crypto_Dsig_XMLObject>(SignedInfo arg0, KeyInfo arg1, List<Arg2ExtendsJavax_Xml_Crypto_Dsig_XMLObject> arg2, String arg3, String arg4) where Arg2ExtendsJavax_Xml_Crypto_Dsig_XMLObject : XMLObject

Parameters

arg0 SignedInfo

SignedInfo

arg1 KeyInfo

KeyInfo

arg2 List<Arg2ExtendsJavax_Xml_Crypto_Dsig_XMLObject>

List

arg3 String

String

arg4 String

String

Returns

XMLSignature

XMLSignature

Type Parameters

Arg2ExtendsJavax_Xml_Crypto_Dsig_XMLObject

XMLObject

UnmarshalXMLSignature(XMLValidateContext)

public XMLSignature UnmarshalXMLSignature(XMLValidateContext arg0)

Parameters

arg0 XMLValidateContext

XMLValidateContext

Returns

XMLSignature

XMLSignature

Exceptions

MarshalException

UnmarshalXMLSignature(XMLStructure)

public XMLSignature UnmarshalXMLSignature(XMLStructure arg0)

Parameters

arg0 XMLStructure

XMLStructure

Returns

XMLSignature

XMLSignature

Exceptions

MarshalException