public PublicProvisionalIdentity(SecretProvisionalIdentity secretIdentity) { TrustchainId = secretIdentity.TrustchainId; Target = secretIdentity.Target; Value = secretIdentity.Value; PublicEncryptionKey = secretIdentity.PublicEncryptionKey; PublicSignatureKey = secretIdentity.PublicEncryptionKey; }
private static string GetPublicIdentity(SecretProvisionalIdentity identity) { var publicIdentity = new PublicProvisionalIdentity(identity); return(Utils.toBase64Json(publicIdentity)); }