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

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

    Class CpSignedCms

    Inheritance
    object
    CpSignedCms
    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 CpSignedCms

    Constructors

    CpSignedCms()

    Declaration
    public CpSignedCms()

    CpSignedCms(ContentInfo)

    Declaration
    public CpSignedCms(ContentInfo contentInfo)
    Parameters
    Type Name Description
    ContentInfo contentInfo

    CpSignedCms(ContentInfo, bool)

    Declaration
    public CpSignedCms(ContentInfo contentInfo, bool detached)
    Parameters
    Type Name Description
    ContentInfo contentInfo
    bool detached

    CpSignedCms(SubjectIdentifierType)

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

    CpSignedCms(SubjectIdentifierType, ContentInfo)

    Declaration
    public CpSignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo)
    Parameters
    Type Name Description
    SubjectIdentifierType signerIdentifierType
    ContentInfo contentInfo

    CpSignedCms(SubjectIdentifierType, ContentInfo, bool)

    Declaration
    public CpSignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo, bool detached)
    Parameters
    Type Name Description
    SubjectIdentifierType signerIdentifierType
    ContentInfo contentInfo
    bool detached

    Properties

    Certificates

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

    ContentInfo

    Declaration
    public ContentInfo ContentInfo { get; }
    Property Value
    Type Description
    ContentInfo

    Detached

    Declaration
    public bool Detached { get; }
    Property Value
    Type Description
    bool

    SignerInfos

    Declaration
    public CpSignerInfoCollection SignerInfos { get; }
    Property Value
    Type Description
    CpSignerInfoCollection

    Version

    Declaration
    public int Version { get; }
    Property Value
    Type Description
    int

    Methods

    AddCertificate(CpX509Certificate2)

    Declaration
    public void AddCertificate(CpX509Certificate2 certificate)
    Parameters
    Type Name Description
    CpX509Certificate2 certificate

    CheckHash()

    Declaration
    public void CheckHash()

    CheckSignature(CpX509Certificate2Collection, bool)

    Declaration
    public void CheckSignature(CpX509Certificate2Collection extraStore, bool verifySignatureOnly)
    Parameters
    Type Name Description
    CpX509Certificate2Collection extraStore
    bool verifySignatureOnly

    CheckSignature(bool)

    Declaration
    public void CheckSignature(bool verifySignatureOnly)
    Parameters
    Type Name Description
    bool verifySignatureOnly

    ComputeSignature(CpCmsSigner)

    Declaration
    public void ComputeSignature(CpCmsSigner signer)
    Parameters
    Type Name Description
    CpCmsSigner signer

    ComputeSignature(CpCmsSigner, bool)

    Declaration
    public void ComputeSignature(CpCmsSigner signer, bool silent)
    Parameters
    Type Name Description
    CpCmsSigner signer
    bool silent

    Decode(byte[])

    Declaration
    public void Decode(byte[] encodedMessage)
    Parameters
    Type Name Description
    byte[] encodedMessage

    Decode(ReadOnlySpan<byte>)

    Declaration
    public void Decode(ReadOnlySpan<byte> encodedMessage)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> encodedMessage

    Encode()

    Declaration
    public byte[] Encode()
    Returns
    Type Description
    byte[]

    RemoveCertificate(CpX509Certificate2)

    Declaration
    public void RemoveCertificate(CpX509Certificate2 certificate)
    Parameters
    Type Name Description
    CpX509Certificate2 certificate

    RemoveSignature(CpSignerInfo)

    Declaration
    public void RemoveSignature(CpSignerInfo signerInfo)
    Parameters
    Type Name Description
    CpSignerInfo signerInfo

    RemoveSignature(int)

    Declaration
    public void RemoveSignature(int index)
    Parameters
    Type Name Description
    int index
    В этом разделе
    Наверх Generated by DocFX