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, 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.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.
|
EnvelopedCms(SubjectIdentifierType recipientIdentifierType,
ContentInfo contentInfo) |
EnvelopedCms(SubjectIdentifierType recipientIdentifierType,
ContentInfo contentInfo,
AlgorithmIdentifier encryptionAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
static EnvelopedCms |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into EnvelopedCms, a cast assert is made to check if types are compatible. |
void |
Decode(byte[] encodedMessage) |
void |
Decode(JCORefOut dupParam0) |
void |
Decrypt() |
void |
Decrypt(RecipientInfo recipientInfo) |
void |
Decrypt(RecipientInfo recipientInfo,
X509Certificate2Collection extraStore) |
void |
Decrypt(X509Certificate2Collection extraStore) |
byte[] |
Encode() |
void |
Encrypt() |
void |
Encrypt(CmsRecipient recipient) |
void |
Encrypt(CmsRecipientCollection recipients) |
X509Certificate2Collection |
getCertificates() |
AlgorithmIdentifier |
getContentEncryptionAlgorithm() |
ContentInfo |
getContentInfo() |
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
|
RecipientInfoCollection |
getRecipientInfos() |
CryptographicAttributeObjectCollection |
getUnprotectedAttributes() |
int |
getVersion() |
void |
setJCOInstance(JCObject instance) |
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,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
CryptographicException,
SecurityException,
MissingMethodException,
TargetInvocationException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionOutOfMemoryExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionCryptographicExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionpublic EnvelopedCms(ContentInfo contentInfo) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, CryptographicException, MissingMethodException, TargetInvocationException, NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionOutOfMemoryExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionCryptographicExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionpublic EnvelopedCms(ContentInfo contentInfo, AlgorithmIdentifier encryptionAlgorithm) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic EnvelopedCms(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic EnvelopedCms(SubjectIdentifierType recipientIdentifierType, ContentInfo contentInfo) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, CryptographicException, MissingMethodException, TargetInvocationException, NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionOutOfMemoryExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionCryptographicExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionpublic EnvelopedCms(SubjectIdentifierType recipientIdentifierType, ContentInfo contentInfo, AlgorithmIdentifier encryptionAlgorithm) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic 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,
ArgumentNullException,
ArgumentOutOfRangeException,
OutOfMemoryException,
CryptographicException,
ArgumentException,
MissingManifestResourceException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
AccessViolationException,
NotSupportedException
public void Decode(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, CryptographicException, ArgumentException, MissingManifestResourceException, InvalidOperationException, MissingMethodException, TargetInvocationException, AccessViolationException, NotSupportedException
public void Decrypt()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
CryptographicException,
InvalidOperationException,
SecurityException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
AccessViolationException,
NotImplementedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionInvalidOperationExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionAccessViolationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionRankExceptionpublic void Decrypt(RecipientInfo recipientInfo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, CryptographicException, SecurityException, OutOfMemoryException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionCryptographicExceptionSecurityExceptionOutOfMemoryExceptionRankExceptionpublic void Decrypt(RecipientInfo recipientInfo, X509Certificate2Collection extraStore) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, CryptographicException, SecurityException, OutOfMemoryException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionCryptographicExceptionSecurityExceptionOutOfMemoryExceptionRankExceptionpublic void Decrypt(X509Certificate2Collection extraStore) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, CryptographicException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException, AccessViolationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionInvalidOperationExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionAccessViolationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionRankExceptionpublic byte[] Encode()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
NotImplementedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ObjectDisposedException,
CultureNotFoundException,
MissingManifestResourceException,
CryptographicException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionObjectDisposedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionCryptographicExceptionpublic void Encrypt()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
NotImplementedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
MissingManifestResourceException,
ObjectDisposedException,
CryptographicException,
FormatException,
AccessViolationException,
OverflowException,
InvalidTimeZoneException,
ApplicationException,
RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionCryptographicExceptionFormatExceptionAccessViolationExceptionOverflowExceptionInvalidTimeZoneExceptionApplicationExceptionRankExceptionpublic void Encrypt(CmsRecipient recipient) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, CryptographicException, AccessViolationException, OverflowException, InvalidTimeZoneException, ApplicationException, OutOfMemoryException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionCryptographicExceptionAccessViolationExceptionOverflowExceptionInvalidTimeZoneExceptionApplicationExceptionOutOfMemoryExceptionRankExceptionpublic void Encrypt(CmsRecipientCollection recipients) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, MissingManifestResourceException, CryptographicException, FormatException, AccessViolationException, OverflowException, OutOfMemoryException, SecurityException, ApplicationException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionObjectDisposedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionCryptographicExceptionFormatExceptionAccessViolationExceptionOverflowExceptionOutOfMemoryExceptionSecurityExceptionApplicationExceptionRankExceptionpublic 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, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, CryptographicException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException, AccessViolationException, TypeLoadException, NotImplementedException, IndexOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionInvalidOperationExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionAccessViolationExceptionTypeLoadExceptionNotImplementedExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic CryptographicAttributeObjectCollection getUnprotectedAttributes() throws java.lang.Throwable
java.lang.Throwablepublic int getVersion()
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject