public class EncryptedXml extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.Xml.EncryptedXml
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.EncryptedXml
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
EncryptedXml() |
EncryptedXml(java.lang.Object instance)
Internal constructor.
|
EncryptedXml(XmlDocument document) |
EncryptedXml(XmlDocument document,
Evidence evidence) |
| Modifier and Type | Method and Description |
|---|---|
void |
AddKeyNameMapping(java.lang.String keyName,
NetObject keyObject) |
static EncryptedXml |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into EncryptedXml, a cast assert is made to check if types are compatible. |
void |
ClearKeyNameMappings() |
byte[] |
DecryptData(EncryptedData encryptedData,
SymmetricAlgorithm symmetricAlgorithm) |
void |
DecryptDocument() |
byte[] |
DecryptEncryptedKey(EncryptedKey encryptedKey) |
static byte[] |
DecryptKey(byte[] keyData,
RSA rsa,
boolean useOAEP) |
static byte[] |
DecryptKey(byte[] keyData,
SymmetricAlgorithm symmetricAlgorithm) |
static byte[] |
DecryptKey(JCORefOut dupParam0,
RSA dupParam1,
boolean dupParam2) |
static byte[] |
DecryptKey(JCORefOut dupParam0,
SymmetricAlgorithm dupParam1) |
EncryptedData |
Encrypt(XmlElement inputElement,
java.lang.String keyName) |
EncryptedData |
Encrypt(XmlElement inputElement,
X509Certificate2 certificate) |
byte[] |
EncryptData(byte[] plaintext,
SymmetricAlgorithm symmetricAlgorithm) |
byte[] |
EncryptData(JCORefOut dupParam0,
SymmetricAlgorithm dupParam1) |
byte[] |
EncryptData(XmlElement inputElement,
SymmetricAlgorithm symmetricAlgorithm,
boolean content) |
static byte[] |
EncryptKey(byte[] keyData,
RSA rsa,
boolean useOAEP) |
static byte[] |
EncryptKey(byte[] keyData,
SymmetricAlgorithm symmetricAlgorithm) |
static byte[] |
EncryptKey(JCORefOut dupParam0,
RSA dupParam1,
boolean dupParam2) |
static byte[] |
EncryptKey(JCORefOut dupParam0,
SymmetricAlgorithm dupParam1) |
byte[] |
GetDecryptionIV(EncryptedData encryptedData,
java.lang.String symmetricAlgorithmUri) |
SymmetricAlgorithm |
GetDecryptionKey(EncryptedData encryptedData,
java.lang.String symmetricAlgorithmUri) |
Evidence |
getDocumentEvidence() |
Encoding |
getEncoding() |
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
|
CipherMode |
getMode() |
PaddingMode |
getPadding() |
java.lang.String |
getRecipient() |
XmlResolver |
getResolver() |
int |
getXmlDSigSearchDepth() |
void |
ReplaceData(XmlElement inputElement,
byte[] decryptedData) |
void |
ReplaceData(XmlElement dupParam0,
JCORefOut dupParam1) |
static void |
ReplaceElement(XmlElement inputElement,
EncryptedData encryptedData,
boolean content) |
void |
setDocumentEvidence(Evidence DocumentEvidence) |
void |
setEncoding(Encoding Encoding) |
void |
setJCOInstance(JCObject instance) |
void |
setMode(CipherMode Mode) |
void |
setPadding(PaddingMode Padding) |
void |
setRecipient(java.lang.String Recipient) |
void |
setResolver(XmlResolver Resolver) |
void |
setXmlDSigSearchDepth(int XmlDSigSearchDepth) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public EncryptedXml()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic EncryptedXml(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic EncryptedXml(XmlDocument document) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic EncryptedXml(XmlDocument document, Evidence evidence) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
public void AddKeyNameMapping(java.lang.String keyName,
NetObject keyObject)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionIndexOutOfRangeExceptionFormatExceptionpublic static EncryptedXml cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into EncryptedXml, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEncryptedXml instancejava.lang.Throwable - in case of error during cast operationpublic void ClearKeyNameMappings()
throws java.lang.Throwable
java.lang.Throwablepublic byte[] DecryptData(EncryptedData encryptedData, SymmetricAlgorithm symmetricAlgorithm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, XmlException, XmlSchemaException, IndexOutOfRangeException, XPathException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionXmlExceptionXmlSchemaExceptionIndexOutOfRangeExceptionXPathExceptionpublic void DecryptDocument()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
XPathException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
CryptographicException,
ArrayTypeMismatchException,
ObjectDisposedException,
CryptoSignedXmlRecursionException,
TypeLoadException,
XmlException,
XmlSchemaException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionXPathExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionCryptographicExceptionArrayTypeMismatchExceptionObjectDisposedExceptionCryptoSignedXmlRecursionExceptionTypeLoadExceptionXmlExceptionXmlSchemaExceptionpublic byte[] DecryptEncryptedKey(EncryptedKey encryptedKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException, OverflowException, OutOfMemoryException, CultureNotFoundException, XPathException, CryptoSignedXmlRecursionException, TypeLoadException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionCultureNotFoundExceptionXPathExceptionCryptoSignedXmlRecursionExceptionTypeLoadExceptionpublic static byte[] DecryptKey(byte[] keyData,
RSA rsa,
boolean useOAEP)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public static byte[] DecryptKey(byte[] keyData,
SymmetricAlgorithm symmetricAlgorithm)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException
public static byte[] DecryptKey(JCORefOut dupParam0, RSA dupParam1, boolean dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static byte[] DecryptKey(JCORefOut dupParam0, SymmetricAlgorithm dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
public EncryptedData Encrypt(XmlElement inputElement, java.lang.String keyName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
public EncryptedData Encrypt(XmlElement inputElement, X509Certificate2 certificate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionCultureNotFoundExceptionpublic byte[] EncryptData(byte[] plaintext,
SymmetricAlgorithm symmetricAlgorithm)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException
public byte[] EncryptData(JCORefOut dupParam0, SymmetricAlgorithm dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
public byte[] EncryptData(XmlElement inputElement, SymmetricAlgorithm symmetricAlgorithm, boolean content) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
public static byte[] EncryptKey(byte[] keyData,
RSA rsa,
boolean useOAEP)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public static byte[] EncryptKey(byte[] keyData,
SymmetricAlgorithm symmetricAlgorithm)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException
public static byte[] EncryptKey(JCORefOut dupParam0, RSA dupParam1, boolean dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static byte[] EncryptKey(JCORefOut dupParam0, SymmetricAlgorithm dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
public byte[] GetDecryptionIV(EncryptedData encryptedData, java.lang.String symmetricAlgorithmUri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, XmlException, XmlSchemaException, IndexOutOfRangeException, XPathException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionXmlExceptionXmlSchemaExceptionIndexOutOfRangeExceptionXPathExceptionpublic SymmetricAlgorithm GetDecryptionKey(EncryptedData encryptedData, java.lang.String symmetricAlgorithmUri) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, XPathException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, CryptographicException, MissingMethodException, TargetInvocationException, CryptoSignedXmlRecursionException, TypeLoadException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionXPathExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionCryptographicExceptionMissingMethodExceptionTargetInvocationExceptionCryptoSignedXmlRecursionExceptionTypeLoadExceptionpublic Evidence getDocumentEvidence() throws java.lang.Throwable
java.lang.Throwablepublic Encoding getEncoding() throws java.lang.Throwable
java.lang.Throwablepublic 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 CipherMode getMode() throws java.lang.Throwable
java.lang.Throwablepublic PaddingMode getPadding() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getRecipient()
throws java.lang.Throwable
java.lang.Throwablepublic XmlResolver getResolver() throws java.lang.Throwable
java.lang.Throwablepublic int getXmlDSigSearchDepth()
throws java.lang.Throwable
java.lang.Throwablepublic void ReplaceData(XmlElement inputElement, byte[] decryptedData) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, XmlException, CultureNotFoundException, XmlSchemaException, IndexOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionXmlExceptionCultureNotFoundExceptionXmlSchemaExceptionIndexOutOfRangeExceptionpublic void ReplaceData(XmlElement dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, XmlException, CultureNotFoundException, XmlSchemaException, IndexOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionXmlExceptionCultureNotFoundExceptionXmlSchemaExceptionIndexOutOfRangeExceptionpublic static void ReplaceElement(XmlElement inputElement, EncryptedData encryptedData, boolean content) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, XmlException, CryptographicException, OutOfMemoryException, UnreachableException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionXmlExceptionCryptographicExceptionOutOfMemoryExceptionUnreachableExceptionpublic void setDocumentEvidence(Evidence DocumentEvidence) throws java.lang.Throwable
java.lang.Throwablepublic void setEncoding(Encoding Encoding) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setMode(CipherMode Mode) throws java.lang.Throwable
java.lang.Throwablepublic void setPadding(PaddingMode Padding) throws java.lang.Throwable
java.lang.Throwablepublic void setRecipient(java.lang.String Recipient)
throws java.lang.Throwable
java.lang.Throwablepublic void setResolver(XmlResolver Resolver) throws java.lang.Throwable
java.lang.Throwablepublic void setXmlDSigSearchDepth(int XmlDSigSearchDepth)
throws java.lang.Throwable
java.lang.Throwable