public class CmsSigner extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/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.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.CmsSigner
|
static 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(SubjectIdentifierType signerIdentifierType,
X509Certificate2 certificate,
AsymmetricAlgorithm privateKey) |
CmsSigner(SubjectIdentifierType signerIdentifierType,
X509Certificate2 certificate,
CompositeMLDsa privateKey) |
CmsSigner(SubjectIdentifierType signerIdentifierType,
X509Certificate2 certificate,
MLDsa privateKey) |
CmsSigner(SubjectIdentifierType signerIdentifierType,
X509Certificate2 certificate,
RSA privateKey,
RSASignaturePadding signaturePadding) |
CmsSigner(SubjectIdentifierType signerIdentifierType,
X509Certificate2 certificate,
SlhDsa privateKey) |
CmsSigner(X509Certificate2 certificate) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CmsSigner()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionpublic CmsSigner(CspParameters parameters) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
public CmsSigner(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic CmsSigner(SubjectIdentifierType signerIdentifierType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionpublic CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2 certificate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionpublic CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2 certificate, AsymmetricAlgorithm privateKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2 certificate, CompositeMLDsa privateKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2 certificate, MLDsa privateKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2 certificate, RSA privateKey, RSASignaturePadding signaturePadding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2 certificate, SlhDsa privateKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public CmsSigner(X509Certificate2 certificate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionpublic 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 JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic AsymmetricAlgorithm getPrivateKey() throws java.lang.Throwable
java.lang.Throwablepublic RSASignaturePadding getSignaturePadding() throws java.lang.Throwable
java.lang.Throwablepublic 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
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setPrivateKey(AsymmetricAlgorithm PrivateKey) throws java.lang.Throwable
java.lang.Throwablepublic void setSignaturePadding(RSASignaturePadding SignaturePadding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public void setSignerIdentifierType(SubjectIdentifierType SignerIdentifierType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException