/// <inheritdoc /> public string GetPseudonym(string encryptedPseudonym) { var entity = EncryptedEntity.FromBase64 <EncryptedPseudonym>(encryptedPseudonym, options.GetPseudonymVerifiers()); var pseudonym = entity.Decrypt(options.GetPseudonymDecryptKey(), options.GetPseudonymClosingKey()); return(pseudonym.ToString()); }
/// <inheritdoc /> public string GetIdentity(string encryptedIdentity) { var entity = EncryptedEntity.FromBase64 <EncryptedIdentity>(encryptedIdentity, options.GetIdentityVerifiers()); var identity = entity.Decrypt(options.GetIdentityDecryptKey()); return(identity.ToString()); }