PR
Comments
New!
藻緯羅さん
New!
USM1さん
samito07さんCategory
Keyword Search
Freepage List
Shopping List
A single wallet can hold multiple identities, each issued by a particular Certificate Authority. Each identity has a standard structure comprising a descriptive label, an X.509 certificate containing a public key, a private key, and some Fabric-specific metadata. Different wallet types
map this structure appropriately to their storage mechanism.
一つの財布がそれぞれ特定の認定機関によって発行された複数の身元を保持できます。 それぞれの身元は説明ラベルや、公開キーや秘密キーを含んでいる X.509
証明書や若干のファブリックに特定されたメタデータを構成する標準的な構造を持っています。 異なる財布タイプは彼らの記憶保持メカニズムに適切にこの構造をマップします。
A Fabric wallet can hold multiple identities with certificates issued by a different Certificate Authority. Identities comprise certificate, private key and Fabric metadata.
一つのファブリックの財布は異なった認証機関によって発行された証明書や身元を構成する証明書y、秘密キーやファブリックメタデータで複数の身元を保持できます。
There’s a couple of key class methods that make it easy to manage wallets and identities:
財布と身元を管理することを容易にする2-3のキークラス・メソッドがあります:
const identity = X509WalletMixin . createIdentity ( 'Org1MSP' , certificate , key );
構築 身元 = X509 財布 Mixin. 身元作成 (「 Org1MSP 」、証明書、キー);
await wallet . import ( identityLabel , identity );
財布 . 取り込み (身元ラベル、身元)を待ち受ける;
See how the
X509WalletMixin.createIdentity()
method
creates an
identity
that has metadata
Org1MSP
, a
certificate
and a private
key
. See how
wallet.import()
adds this identity to the wallet with a particular
identityLabel
.
どのように X509
財布 Mixin.
身元作成 ()
メソッドがメタデータ Org1MSP
や証明書や秘密キー を持つ身元を作成するか見てください。どのように wallet.import ()
が特定の身元ラベル1で財布に身元を加えるのを見てください。
The
Gateway
class only requires the
mspid
metadata to be set for an identity –
Org1MSP
in the above example. It
currently
uses this value to identify particular peers from a connection profile
, for example when a specific notification strategy
is requested. In the DigiBank gateway file
networkConnection.yaml
, see how
Org1MSP
notifications will be associated with
peer0.org1.example.com
:
ゲートウエイクラスは mspid
メタデータ に身元-上記の例にある組織 1MSP
のためにセットされるように要求するだけです。 それは接続プロファイルから特定の相手を識別するためこの値を目下使います。それは例えば特定の通知戦略が必要 であるときです。 DigiBank
ゲートウエイファイルでネットワーク接続 .yaml
で、どのように組織 1MSP
通知 が相手 0.org1.
例 .com
と関連付けられるかを見てください:
organizations :
組織:
Org1 :
組織 1 :
mspid : Org1MSP
mspid: 組織 1MSP
peers :
複数の相手:
- peer0.org1.example.com
相手 0. 組織 1. 例 .com
You really don’t need to worry about the internal structure of the different wallet types, but if you’re interested, navigate to a user identity folder in the commercial paper sample:
あなたは本当に異なった財布タイプの内部構造について心配する必要がありません、しかしもしあなたが興味を持っているなら、商業手形試料で利用者同値フォルダにナビゲートしてください:
magnetocorp / identity / user / isabella /
magnetocorp / 身元 / 利用者 / イサベラ /
wallet /
財布 /
User1 @org1 . example . com /
利用者 1@ 組織 1. 例 .com/
User1 @org . example . com
利用者 1@ 組織 . 例 .com
c75bd6911aca8089 ...- priv
c75bd6911aca8089 ...-秘密
c75bd6911aca8089 ...- pub
c75bd6911aca8089 .. -公開
You can examine these files, but as discussed, it’s easier to use the SDK to manipulate these data.
あなたはこれらのファイルを調べることができますが、しかし論じられたように、それはこれらのデータを操作するために SDK
を使うのはより容易です。
=========================
インターネット・コンピュータランキング
========================= ネットサービスランキング
=========================
「Johnny’s Festival ~Thank you 2021 Hello 2022~」(通常盤DVD 初回プレス仕様) [ (V.A.) ]
価格:7700円(税込、送料無料) (2022/6/2時点)
Xbox Series S
価格:32978円(税込、送料無料) (2022/6/2時点)
ニコン D5600 ダブルズームキット
価格:89800円(税込、送料無料) (2022/6/2時点)
【20000円OFFクーポン配布中】iPhone 12 128GB simフリー 国内正規品 Apple 本体 端末 新品 回線セット
価格:82380円(税込、送料無料) (2022/6/2時点)
</table5
【20000円OFFクーポン配布中】iPhone 12 64GB simフリー 国内正規品 Apple 本体 端末 新品 回線セット
価格:77440円(税込、送料無料) (2022/6/2時点)
=========================
インターネット・コンピュータランキング
========================= ネットサービスランキング
=========================
「Johnny’s Festival ~Thank you 2021 Hello 2022~」(通常盤DVD 初回プレス仕様) [ (V.A.) ]
価格:7700円(税込、送料無料) (2022/6/2時点)
Xbox Series S
価格:32978円(税込、送料無料) (2022/6/2時点)
ニコン D5600 ダブルズームキット
価格:89800円(税込、送料無料) (2022/6/2時点)
【20000円OFFクーポン配布中】iPhone 12 128GB simフリー 国内正規品 Apple 本体 端末 新品 回線セット
価格:82380円(税込、送料無料) (2022/6/2時点)
先端技術情報20260510 2026.05.10
これであなたはブロックチェーンをさらに… 2026.04.21
(3)あなたは今、ブロックチェーンをも… 2026.04.20