Beispiel #1
0
 public PublicProvisionalIdentity(SecretProvisionalIdentity secretIdentity)
 {
     TrustchainId        = secretIdentity.TrustchainId;
     Target              = secretIdentity.Target;
     Value               = secretIdentity.Value;
     PublicEncryptionKey = secretIdentity.PublicEncryptionKey;
     PublicSignatureKey  = secretIdentity.PublicEncryptionKey;
 }
Beispiel #2
0
        private static string GetPublicIdentity(SecretProvisionalIdentity identity)
        {
            var publicIdentity = new PublicProvisionalIdentity(identity);

            return(Utils.toBase64Json(publicIdentity));
        }