public class SignedXml extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.Xml.SignedXml
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Security.Cryptography.Xml, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.Cryptography.Xml
|
static java.lang.String |
className
Qualified class name: System.Security.Cryptography.Xml.SignedXml
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SignedXml() |
SignedXml(java.lang.Object instance)
Internal constructor.
|
SignedXml(XmlDocument document) |
SignedXml(XmlElement elem) |
| Modifier and Type | Method and Description |
|---|---|
void |
AddObject(DataObject dataObject) |
void |
AddReference(Reference reference) |
static SignedXml |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SignedXml, a cast assert is made to check if types are compatible. |
boolean |
CheckSignature() |
boolean |
CheckSignature(AsymmetricAlgorithm key) |
boolean |
CheckSignature(KeyedHashAlgorithm macAlg) |
boolean |
CheckSignature(X509Certificate2 certificate,
boolean verifySignatureOnly) |
boolean |
CheckSignatureReturningKey(JCORefOut<AsymmetricAlgorithm> signingKey) |
void |
ComputeSignature() |
void |
ComputeSignature(KeyedHashAlgorithm macAlg) |
EncryptedXml |
getEncryptedXml() |
XmlElement |
GetIdElement(XmlDocument document,
java.lang.String idValue) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
KeyInfo |
getKeyInfo() |
Signature |
getSignature() |
java.lang.String |
getSignatureLength() |
java.lang.String |
getSignatureMethod() |
byte[] |
getSignatureValue() |
SignedInfo |
getSignedInfo() |
AsymmetricAlgorithm |
getSigningKey() |
java.lang.String |
getSigningKeyName() |
XmlElement |
GetXml() |
void |
LoadXml(XmlElement value) |
void |
setEncryptedXml(EncryptedXml EncryptedXml) |
void |
setJCOInstance(JCObject instance) |
void |
setKeyInfo(KeyInfo KeyInfo) |
void |
setResolver(XmlResolver Resolver) |
void |
setSigningKey(AsymmetricAlgorithm SigningKey) |
void |
setSigningKeyName(java.lang.String SigningKeyName) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SignedXml()
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
TypeLoadException,
NotSupportedException,
IndexOutOfRangeException,
ArgumentException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
ArrayTypeMismatchException,
FormatException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionTypeLoadExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionFormatExceptionpublic SignedXml(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic SignedXml(XmlDocument document) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, TypeLoadException, NotSupportedException, IndexOutOfRangeException, ArgumentException, OutOfMemoryException, ExternalException, CultureNotFoundException, ArrayTypeMismatchException, FormatException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionTypeLoadExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionFormatExceptionpublic SignedXml(XmlElement elem) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, TypeLoadException, NotSupportedException, IndexOutOfRangeException, ArgumentException, OutOfMemoryException, ExternalException, CultureNotFoundException, ArrayTypeMismatchException, FormatException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionTypeLoadExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionFormatExceptionpublic void AddObject(DataObject dataObject) throws java.lang.Throwable
java.lang.Throwablepublic void AddReference(Reference reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException
public static SignedXml cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SignedXml, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSignedXml instancejava.lang.Throwable - in case of error during cast operationpublic boolean CheckSignature()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NullReferenceException,
CultureNotFoundException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
NotSupportedException,
BadImageFormatException,
CryptographicException,
RankException,
CryptographicUnexpectedOperationException,
XmlException,
XPathException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNullReferenceExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionNotSupportedExceptionBadImageFormatExceptionCryptographicExceptionRankExceptionCryptographicUnexpectedOperationExceptionXmlExceptionXPathExceptionpublic boolean CheckSignature(AsymmetricAlgorithm key) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, BadImageFormatException, CultureNotFoundException, ArrayTypeMismatchException, FormatException, OutOfMemoryException, TypeLoadException, CryptographicException, XmlException, ObjectDisposedException, CryptographicUnexpectedOperationException, XmlSchemaException, ExternalException, XPathException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionBadImageFormatExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionFormatExceptionOutOfMemoryExceptionTypeLoadExceptionCryptographicExceptionXmlExceptionObjectDisposedExceptionCryptographicUnexpectedOperationExceptionXmlSchemaExceptionExternalExceptionXPathExceptionpublic boolean CheckSignature(KeyedHashAlgorithm macAlg) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, BadImageFormatException, CultureNotFoundException, ArrayTypeMismatchException, FormatException, OutOfMemoryException, CryptographicException, XmlException, ObjectDisposedException, CryptographicUnexpectedOperationException, XmlSchemaException, ExternalException, XPathException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionBadImageFormatExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionFormatExceptionOutOfMemoryExceptionCryptographicExceptionXmlExceptionObjectDisposedExceptionCryptographicUnexpectedOperationExceptionXmlSchemaExceptionExternalExceptionXPathExceptionpublic boolean CheckSignature(X509Certificate2 certificate, boolean verifySignatureOnly) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, NullReferenceException, NotSupportedException, AsnContentException, FormatException, OverflowException, MissingMethodException, TargetInvocationException, ObjectDisposedException, OutOfMemoryException, BadImageFormatException, TypeLoadException, XmlException, CryptographicUnexpectedOperationException, XPathException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionCryptographicExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionAsnContentExceptionFormatExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionOutOfMemoryExceptionBadImageFormatExceptionTypeLoadExceptionXmlExceptionCryptographicUnexpectedOperationExceptionXPathExceptionpublic boolean CheckSignatureReturningKey(JCORefOut<AsymmetricAlgorithm> signingKey) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, NullReferenceException, ArrayTypeMismatchException, FormatException, OutOfMemoryException, BadImageFormatException, CryptographicException, AsnContentException, IndexOutOfRangeException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, ObjectDisposedException, TypeLoadException, XmlException, CryptographicUnexpectedOperationException, XPathException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionNullReferenceExceptionArrayTypeMismatchExceptionFormatExceptionOutOfMemoryExceptionBadImageFormatExceptionCryptographicExceptionAsnContentExceptionIndexOutOfRangeExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionTypeLoadExceptionXmlExceptionCryptographicUnexpectedOperationExceptionXPathExceptionpublic void ComputeSignature()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
NullReferenceException,
ArrayTypeMismatchException,
FormatException,
OutOfMemoryException,
IndexOutOfRangeException,
RankException,
InvalidCastException,
XmlException,
TypeLoadException,
CryptographicException,
CultureNotFoundException,
XPathException,
ObjectDisposedException,
CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionNullReferenceExceptionArrayTypeMismatchExceptionFormatExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionRankExceptionInvalidCastExceptionXmlExceptionTypeLoadExceptionCryptographicExceptionCultureNotFoundExceptionXPathExceptionObjectDisposedExceptionCryptographicUnexpectedOperationExceptionpublic void ComputeSignature(KeyedHashAlgorithm macAlg) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, IndexOutOfRangeException, FormatException, OverflowException, XmlException, NullReferenceException, TypeLoadException, OutOfMemoryException, CultureNotFoundException, XPathException, CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionXmlExceptionNullReferenceExceptionTypeLoadExceptionOutOfMemoryExceptionCultureNotFoundExceptionXPathExceptionCryptographicUnexpectedOperationExceptionpublic EncryptedXml getEncryptedXml() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic XmlElement GetIdElement(XmlDocument document, java.lang.String idValue) throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, RankException, ArrayTypeMismatchException, CryptographicException, OutOfMemoryException, XPathException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic KeyInfo getKeyInfo() throws java.lang.Throwable
java.lang.Throwablepublic Signature getSignature() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getSignatureLength()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getSignatureMethod()
throws java.lang.Throwable
java.lang.Throwablepublic byte[] getSignatureValue()
throws java.lang.Throwable
java.lang.Throwablepublic SignedInfo getSignedInfo() throws java.lang.Throwable
java.lang.Throwablepublic AsymmetricAlgorithm getSigningKey() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getSigningKeyName()
throws java.lang.Throwable
java.lang.Throwablepublic XmlElement GetXml() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, IndexOutOfRangeException, InvalidOperationException, XmlException, ArgumentNullException, CryptographicException, TypeLoadException, ObjectDisposedException, CryptographicUnexpectedOperationException, OutOfMemoryException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionInvalidOperationExceptionXmlExceptionArgumentNullExceptionCryptographicExceptionTypeLoadExceptionObjectDisposedExceptionCryptographicUnexpectedOperationExceptionOutOfMemoryExceptionpublic void LoadXml(XmlElement value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, CultureNotFoundException, IndexOutOfRangeException, XPathException, TypeLoadException, OutOfMemoryException, FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionXPathExceptionTypeLoadExceptionOutOfMemoryExceptionFormatExceptionpublic void setEncryptedXml(EncryptedXml EncryptedXml) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setKeyInfo(KeyInfo KeyInfo) throws java.lang.Throwable
java.lang.Throwablepublic void setResolver(XmlResolver Resolver) throws java.lang.Throwable
java.lang.Throwablepublic void setSigningKey(AsymmetricAlgorithm SigningKey) throws java.lang.Throwable
java.lang.Throwablepublic void setSigningKeyName(java.lang.String SigningKeyName)
throws java.lang.Throwable
java.lang.Throwable