<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.1" />

SignerInformation

public class SignerInformation

protected SignerInfo info

protected readonly Asn1Set signedAttributeSet

protected readonly Asn1Set unsignedAttributeSet

public string DigestAlgOid { get; }

public Asn1Object DigestAlgParams { get; }

public string EncryptionAlgOid { get; }

public bool IsCounterSignature { get; }

public SignerID SignerID { get; }

public int Version { get; }

public static SignerInformation AddCounterSigners(SignerInformation signerInformation, SignerInformationStore counterSigners)

public static SignerInformation ReplaceUnsignedAttributes(SignerInformation signerInformation, AttributeTable unsignedAttributes)

public byte[] GetContentDigest()

public virtual byte[] GetEncodedSignedAttributes()

public byte[] GetSignature()

public bool Verify(AsymmetricKeyParameter pubKey)

public bool Verify(X509Certificate cert)