Pkcs7SignerInfoBuilder.rsa constructor Null safety

Pkcs7SignerInfoBuilder.rsa(
  1. {required X509 issuer,
  2. HashAlgorithm digestAlgorithm = HashAlgorithm.sha1,
  3. required RSAPrivateKey privateKey}
)

Build an RSA Pkcs7 Signer

Implementation

factory Pkcs7SignerInfoBuilder.rsa({
  required X509 issuer,
  HashAlgorithm digestAlgorithm = HashAlgorithm.sha1,
  required RSAPrivateKey privateKey,
}) {
  return _RSAPkcs7SignerInfoBuilder(
    issuer,
    privateKey,
    digestAlgorithm,
  );
}