private static Dictionary <string, List <BaseAttribute> > ParseProfileContent(AsymmetricCipherKeyPair keyPair, string wrappedReceiptKey, string profileContent) { var parsedAttributes = new Dictionary <string, List <BaseAttribute> >(); if (!string.IsNullOrEmpty(profileContent)) { ProtoBuf.Attribute.AttributeList profileAttributeList = CryptoEngine.DecryptAttributeList( wrappedReceiptKey, profileContent, keyPair); parsedAttributes = AttributeConverter.ConvertToBaseAttributes(profileAttributeList); } return(parsedAttributes); }