public class EnvelopedCms extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.Pkcs.EnvelopedCms
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.Pkcs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.Cryptography.Pkcs
|
static java.lang.String |
className
Qualified class name: System.Security.Cryptography.Pkcs.EnvelopedCms
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
EnvelopedCms() |
EnvelopedCms(ContentInfo contentInfo) |
EnvelopedCms(ContentInfo contentInfo,
AlgorithmIdentifier encryptionAlgorithm) |
EnvelopedCms(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public EnvelopedCms()
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ArgumentException,
NotSupportedException
public EnvelopedCms(ContentInfo contentInfo) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
public EnvelopedCms(ContentInfo contentInfo, AlgorithmIdentifier encryptionAlgorithm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public EnvelopedCms(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static EnvelopedCms cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into EnvelopedCms, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEnvelopedCms instancejava.lang.Throwable - in case of error during cast operationpublic void Decode(byte[] encodedMessage)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public void Decode(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void Decrypt()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
CryptographicException,
FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionCryptographicExceptionFormatExceptionpublic void Decrypt(RecipientInfo recipientInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CryptographicException
public void Decrypt(RecipientInfo recipientInfo, AsymmetricAlgorithm privateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void Decrypt(RecipientInfo recipientInfo, X509Certificate2Collection extraStore) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CryptographicException
public void Decrypt(X509Certificate2Collection extraStore) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CryptographicException
public byte[] Encode()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void Encrypt(CmsRecipient recipient) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void Encrypt(CmsRecipientCollection recipients) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public X509Certificate2Collection getCertificates() throws java.lang.Throwable
java.lang.Throwablepublic AlgorithmIdentifier getContentEncryptionAlgorithm() throws java.lang.Throwable
java.lang.Throwablepublic ContentInfo getContentInfo() throws java.lang.Throwable
java.lang.Throwablepublic 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 RecipientInfoCollection getRecipientInfos() throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
public CryptographicAttributeObjectCollection getUnprotectedAttributes() throws java.lang.Throwable
java.lang.Throwablepublic int getVersion()
throws java.lang.Throwable
java.lang.Throwablepublic void setCertificates(X509Certificate2Collection Certificates) throws java.lang.Throwable
java.lang.Throwablepublic void setContentEncryptionAlgorithm(AlgorithmIdentifier ContentEncryptionAlgorithm) throws java.lang.Throwable
java.lang.Throwablepublic void setContentInfo(ContentInfo ContentInfo) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setUnprotectedAttributes(CryptographicAttributeObjectCollection UnprotectedAttributes) throws java.lang.Throwable
java.lang.Throwablepublic void setVersion(int Version)
throws java.lang.Throwable
java.lang.Throwable