public class CmsSigner extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Cryptography.Pkcs.CmsSigner
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.CmsSigner
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CmsSigner() |
CmsSigner(CspParameters parameters) |
CmsSigner(java.lang.Object instance)
Internal constructor.
|
CmsSigner(SubjectIdentifierType signerIdentifierType) |
CmsSigner(SubjectIdentifierType signerIdentifierType,
X509Certificate2 certificate) |
CmsSigner(X509Certificate2 certificate) |
| Modifier and Type | Method and Description |
|---|---|
static CmsSigner |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CmsSigner, a cast assert is made to check if types are compatible. |
X509Certificate2 |
getCertificate() |
X509Certificate2Collection |
getCertificates() |
Oid |
getDigestAlgorithm() |
X509IncludeOption |
getIncludeOption() |
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
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
CryptographicAttributeObjectCollection |
getSignedAttributes() |
SubjectIdentifierType |
getSignerIdentifierType() |
CryptographicAttributeObjectCollection |
getUnsignedAttributes() |
void |
setCertificate(X509Certificate2 Certificate) |
void |
setDigestAlgorithm(Oid DigestAlgorithm) |
void |
setIncludeOption(X509IncludeOption IncludeOption) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
setSignerIdentifierType(SubjectIdentifierType SignerIdentifierType) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic CmsSigner()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
CultureNotFoundException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
OutOfMemoryException,
CryptographicException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOutOfMemoryExceptionCryptographicExceptionpublic CmsSigner(CspParameters parameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, RankException, ArgumentOutOfRangeException, CryptographicException, InvalidOperationException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, AccessViolationException, MissingMethodException, TargetInvocationException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionRankExceptionArgumentOutOfRangeExceptionCryptographicExceptionInvalidOperationExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionAccessViolationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionpublic CmsSigner(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic CmsSigner(SubjectIdentifierType signerIdentifierType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, OutOfMemoryException, CryptographicException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOutOfMemoryExceptionCryptographicExceptionpublic CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2 certificate) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, FormatException, CryptographicException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionCryptographicExceptionpublic CmsSigner(X509Certificate2 certificate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, OutOfMemoryException, CryptographicException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOutOfMemoryExceptionCryptographicExceptionpublic static CmsSigner cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CmsSigner, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCmsSigner instancejava.lang.Throwable - in case of error during cast operationpublic X509Certificate2 getCertificate() throws java.lang.Throwable
java.lang.Throwablepublic X509Certificate2Collection getCertificates() throws java.lang.Throwable
java.lang.Throwablepublic Oid getDigestAlgorithm() throws java.lang.Throwable
java.lang.Throwablepublic X509IncludeOption getIncludeOption() 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 org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic CryptographicAttributeObjectCollection getSignedAttributes() throws java.lang.Throwable
java.lang.Throwablepublic SubjectIdentifierType getSignerIdentifierType() throws java.lang.Throwable
java.lang.Throwablepublic CryptographicAttributeObjectCollection getUnsignedAttributes() throws java.lang.Throwable
java.lang.Throwablepublic void setCertificate(X509Certificate2 Certificate) throws java.lang.Throwable
java.lang.Throwablepublic void setDigestAlgorithm(Oid DigestAlgorithm) throws java.lang.Throwable
java.lang.Throwablepublic void setIncludeOption(X509IncludeOption IncludeOption) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic void setSignerIdentifierType(SubjectIdentifierType SignerIdentifierType) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedException