You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
992 B
31 lines
992 B
2 months ago
|
using System;
|
||
|
|
||
|
using Org.BouncyCastle.Asn1;
|
||
|
using Org.BouncyCastle.Asn1.Cms;
|
||
|
using Org.BouncyCastle.Asn1.X509;
|
||
|
using Org.BouncyCastle.Cms;
|
||
|
using Org.BouncyCastle.Crypto;
|
||
|
using Org.BouncyCastle.X509;
|
||
|
|
||
|
namespace Org.BouncyCastle.Operators
|
||
|
{
|
||
|
/// <deprecated>Use KeyTransRecipientInfoGenerator</deprecated>
|
||
|
public class CmsKeyTransRecipientInfoGenerator
|
||
|
: KeyTransRecipientInfoGenerator
|
||
|
{
|
||
|
public CmsKeyTransRecipientInfoGenerator(X509Certificate recipCert, IKeyWrapper keyWrapper)
|
||
|
: base(new Asn1.Cms.IssuerAndSerialNumber(recipCert.IssuerDN, new DerInteger(recipCert.SerialNumber)), keyWrapper)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public CmsKeyTransRecipientInfoGenerator(IssuerAndSerialNumber issuerAndSerial, IKeyWrapper keyWrapper)
|
||
|
: base(issuerAndSerial, keyWrapper)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public CmsKeyTransRecipientInfoGenerator(byte[] subjectKeyID, IKeyWrapper keyWrapper) : base(subjectKeyID, keyWrapper)
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
}
|