internal KekRecipientInformation(
			KekRecipientInfo	info,
			CmsSecureReadable	secureReadable)
			: base(info.KeyEncryptionAlgorithm, secureReadable)
		{
            this.info = info;
            this.rid = new RecipientID();

			KekIdentifier kekId = info.KekID;

			rid.KeyIdentifier = kekId.KeyIdentifier.GetOctets();
        }
Exemple #2
0
 public RecipientInfo(
     KekRecipientInfo info)
 {
     this.info = new DerTaggedObject(false, 2, info);
 }
Exemple #3
0
 private KekRecipientInfo GetKekInfo(
     Asn1TaggedObject o)
 {
     // For compatibility with erroneous version, we don't always pass 'false' here
     return(KekRecipientInfo.GetInstance(o, o.IsExplicit()));
 }
		public RecipientInfo(
            KekRecipientInfo info)
        {
            this.info = new DerTaggedObject(false, 2, info);
        }