namespace System.Security.Cryptography.Pkcs {
public sealed class CmsSigner {
- public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2? certificate);
+ public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2 certificate);
- public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2? certificate, AsymmetricAlgorithm? privateKey);
+ public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2 certificate, AsymmetricAlgorithm privateKey);
+ public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2 certificate, RSA privateKey, RSASignaturePadding signaturePadding);
- public CmsSigner(X509Certificate2? certificate);
+ public CmsSigner(X509Certificate2 certificate);
- public X509Certificate2? Certificate { get; set; }
+ public X509Certificate2 Certificate { get; set; }
- public AsymmetricAlgorithm? PrivateKey { get; set; }
+ public AsymmetricAlgorithm PrivateKey { get; set; }
+ public RSASignaturePadding SignaturePadding { get; set; }
}
}