private string GetBlindedPublickey(IContentBlinder contentBlinder, RsaKeyParameters participantPublicKey)
 {
     byte[] message        = Convert.FromBase64String(RsaKeyUtils.GetSerializedPublicKey(participantPublicKey));
     byte[] blindedMessage = contentBlinder.GetBlindedContent(message);
     return(Convert.ToBase64String(blindedMessage));
 }
Ejemplo n.º 2
0
 public GroupRegistration(Group group, IContentBlinder contentBlinder, RsaKeyParameters participantPublicKey)
 {
     Group          = group;
     ContentBlinder = contentBlinder;
     PublicKey      = participantPublicKey;
 }