예제 #1
0
 public PasswordRecipientInformation(
     PasswordRecipientInfo info,
     AlgorithmIdentifier encAlg,
     Stream data)
     : this(info, encAlg, null, null, data)
 {
 }
예제 #2
0
 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();
        }
예제 #4
0
 public PasswordRecipientInformation(
     PasswordRecipientInfo info,
     AlgorithmIdentifier encAlg,
     AlgorithmIdentifier macAlg,
     AlgorithmIdentifier authEncAlg,
     Stream data)
     : base(encAlg, macAlg, authEncAlg, info.KeyEncryptionAlgorithm, data)
 {
     this.info = info;
     this.rid  = new RecipientID();
 }
예제 #5
0
 public RecipientInfo(PasswordRecipientInfo info)
 {
     this.info = new DerTaggedObject(explicitly: false, 3, info);
 }