コード例 #1
0
        private static ApiUserPrivateKey ToApiUserPrivateKey(UserPrivateKey userPrivateKey)
        {
            ApiUserPrivateKey apiUserPrivateKey = new ApiUserPrivateKey {
                Version    = userPrivateKey.Version,
                PrivateKey = userPrivateKey.PrivateKey
            };

            return(apiUserPrivateKey);
        }
コード例 #2
0
        private static UserPrivateKey FromApiUserPrivateKey(ApiUserPrivateKey apiUserPrivateKey)
        {
            UserPrivateKey userPrivateKey = new UserPrivateKey {
                Version    = apiUserPrivateKey.Version,
                PrivateKey = apiUserPrivateKey.PrivateKey
            };

            return(userPrivateKey);
        }