Наследование: Org.BouncyCastle.Asn1.Asn1Encodable
		internal PasswordRecipientInformation(
			PasswordRecipientInfo	info,
			CmsSecureReadable		secureReadable)
			: base(info.KeyEncryptionAlgorithm, secureReadable)
		{
			this.info = info;
			this.rid = new RecipientID();
		}
//		private readonly AlgorithmIdentifier	_encAlg;

		public PasswordRecipientInformation(
			PasswordRecipientInfo	info,
			AlgorithmIdentifier		encAlg,
			Stream					data)
			: base(encAlg, AlgorithmIdentifier.GetInstance(info.KeyEncryptionAlgorithm), data)
		{
			this._info = info;
//			this._encAlg = encAlg;
			this._rid = new RecipientID();
		}
Пример #3
0
 public RecipientInfo(
     PasswordRecipientInfo info)
 {
     this.info = new DerTaggedObject(false, 3, info);
 }
Пример #4
0
 public RecipientInfo(
     PasswordRecipientInfo info)
 {
     this.info = new DerTaggedObject(false, 3, info);
 }
Пример #5
0
 public static PasswordRecipientInfo GetInstance(Asn1TaggedObject obj, bool explicitly)
 {
     return(PasswordRecipientInfo.GetInstance(Asn1Sequence.GetInstance(obj, explicitly)));
 }