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(); }
public RecipientInfo( KekRecipientInfo info) { this.info = new DerTaggedObject(false, 2, info); }
private KekRecipientInfo GetKekInfo( Asn1TaggedObject o) { // For compatibility with erroneous version, we don't always pass 'false' here return(KekRecipientInfo.GetInstance(o, o.IsExplicit())); }