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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security
|
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,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
IndexOutOfRangeException,
SecurityException,
UnauthorizedAccessException,
IOException,
InvalidOperationException,
ApplicationException,
NotSupportedException,
TypeLoadException,
MissingMethodException,
TargetInvocationException,
ConfigurationException,
ConfigurationErrorsException,
FormatException,
NotImplementedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionApplicationExceptionNotSupportedExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionConfigurationExceptionConfigurationErrorsExceptionFormatExceptionNotImplementedExceptionpublic SignedXml(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic SignedXml(XmlDocument document) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, IndexOutOfRangeException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, ApplicationException, NotSupportedException, TypeLoadException, MissingMethodException, TargetInvocationException, ConfigurationException, ConfigurationErrorsException, FormatException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionApplicationExceptionNotSupportedExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionConfigurationExceptionConfigurationErrorsExceptionFormatExceptionNotImplementedExceptionpublic SignedXml(XmlElement elem) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, IndexOutOfRangeException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, ApplicationException, NotSupportedException, TypeLoadException, MissingMethodException, TargetInvocationException, ConfigurationException, ConfigurationErrorsException, FormatException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionApplicationExceptionNotSupportedExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionConfigurationExceptionConfigurationErrorsExceptionFormatExceptionNotImplementedExceptionpublic void AddObject(DataObject dataObject) throws java.lang.Throwable
java.lang.Throwablepublic void AddReference(Reference reference) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic 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,
ConfigurationException,
ConfigurationErrorsException,
ArgumentNullException,
MissingManifestResourceException,
ArgumentOutOfRangeException,
InvalidCastException,
NotImplementedException,
NotSupportedException,
InvalidOperationException,
CultureNotFoundException,
IndexOutOfRangeException,
CryptographicException,
ThreadAbortException,
MissingMethodException,
OutOfMemoryException,
SecurityException,
RankException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
ApplicationException,
CryptographicUnexpectedOperationException,
XmlException,
NullReferenceException,
FormatException,
XPathException
java.lang.ThrowableArgumentExceptionConfigurationExceptionConfigurationErrorsExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionInvalidCastExceptionNotImplementedExceptionNotSupportedExceptionInvalidOperationExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionCryptographicExceptionThreadAbortExceptionMissingMethodExceptionOutOfMemoryExceptionSecurityExceptionRankExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionApplicationExceptionCryptographicUnexpectedOperationExceptionXmlExceptionNullReferenceExceptionFormatExceptionXPathExceptionpublic boolean CheckSignature(AsymmetricAlgorithm key) throws java.lang.Throwable, ArgumentException, ConfigurationException, ConfigurationErrorsException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, InvalidCastException, NotSupportedException, InvalidOperationException, NotImplementedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, SecurityException, UnauthorizedAccessException, IOException, ApplicationException, CryptographicException, FormatException, NullReferenceException, UriFormatException, XmlException, CryptographicUnexpectedOperationException, OutOfMemoryException, MissingMethodException, TargetInvocationException, FileNotFoundException, DirectoryNotFoundException, PathTooLongException, DriveNotFoundException, OperationCanceledException, XPathException
java.lang.ThrowableArgumentExceptionConfigurationExceptionConfigurationErrorsExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionInvalidCastExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionApplicationExceptionCryptographicExceptionFormatExceptionNullReferenceExceptionUriFormatExceptionXmlExceptionCryptographicUnexpectedOperationExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionXPathExceptionpublic boolean CheckSignature(KeyedHashAlgorithm macAlg) throws java.lang.Throwable, ArgumentException, ConfigurationException, ConfigurationErrorsException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, InvalidCastException, NotSupportedException, InvalidOperationException, NotImplementedException, CultureNotFoundException, CryptographicException, FormatException, NullReferenceException, UriFormatException, XmlException, IndexOutOfRangeException, ObjectDisposedException, CryptographicUnexpectedOperationException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException, XPathException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionConfigurationExceptionConfigurationErrorsExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionInvalidCastExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionCultureNotFoundExceptionCryptographicExceptionFormatExceptionNullReferenceExceptionUriFormatExceptionXmlExceptionIndexOutOfRangeExceptionObjectDisposedExceptionCryptographicUnexpectedOperationExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionXPathExceptionMissingMethodExceptionTargetInvocationExceptionpublic boolean CheckSignature(X509Certificate2 certificate, boolean verifySignatureOnly) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, SecurityException, ApplicationException, NotSupportedException, IOException, ConfigurationException, ConfigurationErrorsException, OverflowException, FormatException, AccessViolationException, RankException, ThreadAbortException, XmlException, CryptographicUnexpectedOperationException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException, XPathException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionSecurityExceptionApplicationExceptionNotSupportedExceptionIOExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionFormatExceptionAccessViolationExceptionRankExceptionThreadAbortExceptionXmlExceptionCryptographicUnexpectedOperationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionXPathExceptionInvalidCastExceptionpublic boolean CheckSignatureReturningKey(JCORefOut<AsymmetricAlgorithm> signingKey) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, FormatException, NotImplementedException, IndexOutOfRangeException, ObjectDisposedException, InvalidOperationException, CryptographicException, ThreadAbortException, MissingMethodException, OutOfMemoryException, SecurityException, AccessViolationException, RankException, UnauthorizedAccessException, IOException, ApplicationException, XmlException, CryptographicUnexpectedOperationException, CultureNotFoundException, FileNotFoundException, DirectoryNotFoundException, PathTooLongException, DriveNotFoundException, OperationCanceledException, XPathException, InvalidCastException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionNotImplementedExceptionIndexOutOfRangeExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionThreadAbortExceptionMissingMethodExceptionOutOfMemoryExceptionSecurityExceptionAccessViolationExceptionRankExceptionUnauthorizedAccessExceptionIOExceptionApplicationExceptionXmlExceptionCryptographicUnexpectedOperationExceptionCultureNotFoundExceptionFileNotFoundExceptionDirectoryNotFoundExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionXPathExceptionInvalidCastExceptionpublic void ComputeSignature()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
NotSupportedException,
ConfigurationException,
ConfigurationErrorsException,
ArgumentOutOfRangeException,
OverflowException,
FormatException,
NotImplementedException,
IndexOutOfRangeException,
ObjectDisposedException,
RankException,
InvalidOperationException,
XmlException,
SecurityException,
UnauthorizedAccessException,
IOException,
ApplicationException,
CryptographicException,
FileNotFoundException,
DirectoryNotFoundException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
XPathException,
OutOfMemoryException,
InvalidCastException,
CultureNotFoundException,
MissingMethodException,
CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionFormatExceptionNotImplementedExceptionIndexOutOfRangeExceptionObjectDisposedExceptionRankExceptionInvalidOperationExceptionXmlExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionApplicationExceptionCryptographicExceptionFileNotFoundExceptionDirectoryNotFoundExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionXPathExceptionOutOfMemoryExceptionInvalidCastExceptionCultureNotFoundExceptionMissingMethodExceptionCryptographicUnexpectedOperationExceptionpublic void ComputeSignature(KeyedHashAlgorithm macAlg) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, MissingManifestResourceException, CryptographicException, FormatException, OverflowException, RankException, NullReferenceException, XmlException, ConfigurationException, ConfigurationErrorsException, InvalidCastException, SecurityException, UnauthorizedAccessException, IOException, ApplicationException, FileNotFoundException, DirectoryNotFoundException, PathTooLongException, DriveNotFoundException, OperationCanceledException, XPathException, OutOfMemoryException, CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionObjectDisposedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionCryptographicExceptionFormatExceptionOverflowExceptionRankExceptionNullReferenceExceptionXmlExceptionConfigurationExceptionConfigurationErrorsExceptionInvalidCastExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionApplicationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionXPathExceptionOutOfMemoryExceptionCryptographicUnexpectedOperationExceptionpublic EncryptedXml getEncryptedXml() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, SecurityException, UnauthorizedAccessException, IOException
public XmlElement GetIdElement(XmlDocument document, java.lang.String idValue) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, SecurityException, UnauthorizedAccessException, IOException, NotSupportedException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, CryptographicException, XPathException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionArgumentExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionCryptographicExceptionXPathExceptionpublic 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, ArgumentOutOfRangeException, NullReferenceException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentException, XmlException, ObjectDisposedException, RankException, CryptographicException, SecurityException, UnauthorizedAccessException, IOException, ApplicationException, NotSupportedException, IndexOutOfRangeException, CryptographicUnexpectedOperationException, OutOfMemoryException
java.lang.ThrowableArgumentOutOfRangeExceptionNullReferenceExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentExceptionXmlExceptionObjectDisposedExceptionRankExceptionCryptographicExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionApplicationExceptionNotSupportedExceptionIndexOutOfRangeExceptionCryptographicUnexpectedOperationExceptionOutOfMemoryExceptionpublic void LoadXml(XmlElement value) throws java.lang.Throwable, ArgumentNullException, NullReferenceException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, FormatException, CryptographicException, SecurityException, UnauthorizedAccessException, IOException, XPathException, ApplicationException
java.lang.ThrowableArgumentNullExceptionNullReferenceExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionCryptographicExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionXPathExceptionApplicationExceptionpublic 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