КриптоПро .NET
Search Results for

    Показать/Скрыть содержание

    Class CpCmsSigner

    Inheritance
    object
    CpCmsSigner
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CryptoPro.Security.Cryptography.Pkcs
    Assembly: CryptoPro.Security.Cryptography.Pkcs.dll
    Syntax
    public sealed class CpCmsSigner

    Constructors

    CpCmsSigner()

    Declaration
    public CpCmsSigner()

    CpCmsSigner(CpX509Certificate2)

    Declaration
    public CpCmsSigner(CpX509Certificate2 certificate)
    Parameters
    Type Name Description
    CpX509Certificate2 certificate

    CpCmsSigner(SubjectIdentifierType)

    Declaration
    public CpCmsSigner(SubjectIdentifierType signerIdentifierType)
    Parameters
    Type Name Description
    SubjectIdentifierType signerIdentifierType

    CpCmsSigner(SubjectIdentifierType, CpX509Certificate2)

    Declaration
    public CpCmsSigner(SubjectIdentifierType signerIdentifierType, CpX509Certificate2 certificate)
    Parameters
    Type Name Description
    SubjectIdentifierType signerIdentifierType
    CpX509Certificate2 certificate

    CpCmsSigner(SubjectIdentifierType, CpX509Certificate2, AsymmetricAlgorithm)

    Declaration
    public CpCmsSigner(SubjectIdentifierType signerIdentifierType, CpX509Certificate2 certificate, AsymmetricAlgorithm privateKey)
    Parameters
    Type Name Description
    SubjectIdentifierType signerIdentifierType
    CpX509Certificate2 certificate
    AsymmetricAlgorithm privateKey

    CpCmsSigner(SubjectIdentifierType, CpX509Certificate2, RSA, RSASignaturePadding)

    Initializes a new instance of the CmsSigner class with a specified signer certificate, subject identifier type, private key object, and RSA signature padding.

    Declaration
    public CpCmsSigner(SubjectIdentifierType signerIdentifierType, CpX509Certificate2 certificate, RSA privateKey, RSASignaturePadding signaturePadding)
    Parameters
    Type Name Description
    SubjectIdentifierType signerIdentifierType

    One of the enumeration values that specifies the scheme to use for identifying which signing certificate was used.

    CpX509Certificate2 certificate

    The certificate whose private key will be used to sign a message.

    RSA privateKey

    The private key object to use when signing the message.

    RSASignaturePadding signaturePadding

    The RSA signature padding to use.

    Properties

    Certificate

    Declaration
    public CpX509Certificate2 Certificate { get; set; }
    Property Value
    Type Description
    CpX509Certificate2

    Certificates

    Declaration
    public CpX509Certificate2Collection Certificates { get; }
    Property Value
    Type Description
    CpX509Certificate2Collection

    DigestAlgorithm

    Declaration
    public Oid DigestAlgorithm { get; set; }
    Property Value
    Type Description
    Oid

    IncludeOption

    Declaration
    public X509IncludeOption IncludeOption { get; set; }
    Property Value
    Type Description
    X509IncludeOption

    PrivateKey

    Declaration
    public AsymmetricAlgorithm PrivateKey { get; set; }
    Property Value
    Type Description
    AsymmetricAlgorithm

    SignaturePadding

    Gets or sets the RSA signature padding to use.

    Declaration
    public RSASignaturePadding SignaturePadding { get; set; }
    Property Value
    Type Description
    RSASignaturePadding

    The RSA signature padding to use.

    SignedAttributes

    Declaration
    public CryptographicAttributeObjectCollection SignedAttributes { get; }
    Property Value
    Type Description
    CryptographicAttributeObjectCollection

    SignerIdentifierType

    Declaration
    public SubjectIdentifierType SignerIdentifierType { get; set; }
    Property Value
    Type Description
    SubjectIdentifierType

    UnsignedAttributes

    Declaration
    public CryptographicAttributeObjectCollection UnsignedAttributes { get; }
    Property Value
    Type Description
    CryptographicAttributeObjectCollection
    В этом разделе
    Наверх Generated by DocFX