public class SignedCms extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.Pkcs.SignedCms
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.SignedCms
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SignedCms() |
SignedCms(ContentInfo contentInfo) |
SignedCms(ContentInfo contentInfo,
boolean detached) |
SignedCms(java.lang.Object instance)
Internal constructor.
|
SignedCms(SubjectIdentifierType signerIdentifierType) |
SignedCms(SubjectIdentifierType signerIdentifierType,
ContentInfo contentInfo) |
SignedCms(SubjectIdentifierType signerIdentifierType,
ContentInfo contentInfo,
boolean detached) |
| Modifier and Type | Method and Description |
|---|---|
static SignedCms |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SignedCms, a cast assert is made to check if types are compatible. |
void |
CheckHash() |
void |
CheckSignature(boolean verifySignatureOnly) |
void |
CheckSignature(X509Certificate2Collection extraStore,
boolean verifySignatureOnly) |
void |
ComputeSignature() |
void |
ComputeSignature(CmsSigner signer) |
void |
ComputeSignature(CmsSigner signer,
boolean silent) |
void |
Decode(byte[] encodedMessage) |
void |
Decode(JCORefOut dupParam0) |
byte[] |
Encode() |
X509Certificate2Collection |
getCertificates() |
ContentInfo |
getContentInfo() |
boolean |
getDetached() |
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
|
SignerInfoCollection |
getSignerInfos() |
int |
getVersion() |
void |
RemoveSignature(int index) |
void |
RemoveSignature(SignerInfo signerInfo) |
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 SignedCms()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
CryptographicException,
SecurityException,
MissingMethodException,
TargetInvocationException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionOutOfMemoryExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionCryptographicExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionpublic SignedCms(ContentInfo contentInfo) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic SignedCms(ContentInfo contentInfo, boolean detached) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic SignedCms(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic SignedCms(SubjectIdentifierType signerIdentifierType) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, CryptographicException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionOutOfMemoryExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionCryptographicExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionpublic SignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic SignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo, boolean detached) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic static SignedCms cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SignedCms, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSignedCms instancejava.lang.Throwable - in case of error during cast operationpublic void CheckHash()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
NotImplementedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ObjectDisposedException,
CultureNotFoundException,
MissingManifestResourceException,
CryptographicException,
OutOfMemoryException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionObjectDisposedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionCryptographicExceptionOutOfMemoryExceptionFormatExceptionpublic void CheckSignature(boolean verifySignatureOnly)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
NotImplementedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
MissingManifestResourceException,
ObjectDisposedException,
CryptographicException,
SecurityException,
AccessViolationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionCryptographicExceptionSecurityExceptionAccessViolationExceptionpublic void CheckSignature(X509Certificate2Collection extraStore, boolean verifySignatureOnly) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, MissingManifestResourceException, CryptographicException, OutOfMemoryException, SecurityException, RankException, AccessViolationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionObjectDisposedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionCryptographicExceptionOutOfMemoryExceptionSecurityExceptionRankExceptionAccessViolationExceptionpublic void ComputeSignature()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
OutOfMemoryException,
CryptographicException,
RankException,
AccessViolationException,
NotSupportedException,
SecurityException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionOutOfMemoryExceptionCryptographicExceptionRankExceptionAccessViolationExceptionNotSupportedExceptionSecurityExceptionpublic void ComputeSignature(CmsSigner signer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, CryptographicException, FormatException, RankException, AccessViolationException, SecurityException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionCryptographicExceptionFormatExceptionRankExceptionAccessViolationExceptionSecurityExceptionpublic void ComputeSignature(CmsSigner signer, boolean silent) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, MissingManifestResourceException, CryptographicException, FormatException, OutOfMemoryException, RankException, AccessViolationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionObjectDisposedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionCryptographicExceptionFormatExceptionOutOfMemoryExceptionRankExceptionAccessViolationExceptionpublic void Decode(byte[] encodedMessage)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
OutOfMemoryException,
CryptographicException,
ArgumentException,
MissingManifestResourceException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException
public void Decode(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, CryptographicException, ArgumentException, MissingManifestResourceException, InvalidOperationException, MissingMethodException, TargetInvocationException
public byte[] Encode()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
NotImplementedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ObjectDisposedException,
CultureNotFoundException,
MissingManifestResourceException,
CryptographicException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionObjectDisposedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionCryptographicExceptionpublic X509Certificate2Collection getCertificates() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, CryptographicException, AccessViolationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionAccessViolationExceptionpublic ContentInfo getContentInfo() throws java.lang.Throwable
java.lang.Throwablepublic boolean getDetached()
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 SignerInfoCollection getSignerInfos() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, CryptographicException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException
public int getVersion()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
CryptographicException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionpublic void RemoveSignature(int index)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
NotImplementedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ObjectDisposedException,
CultureNotFoundException,
MissingManifestResourceException,
CryptographicException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionObjectDisposedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionCryptographicExceptionpublic void RemoveSignature(SignerInfo signerInfo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, CryptographicException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException, TypeLoadException, NotImplementedException, IndexOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionInvalidOperationExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionTypeLoadExceptionNotImplementedExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject