检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Table 3 CredentialSubject Parameter Type Description owner String Applicant identifier. type String Credential type. schemaID String schema ID dataURI String Data URI. encryptedAeskey String Encrypted symmetric key. uriType String Data index type. dataHash String Data hash value.
Response If opmethod is invoke, the transactionID encrypted and encoded using Base64 is returned. If opmethod is query, the query result returned by the chaincode is also encrypted and encoded using Base64.
The value after -a is encrypted, while the one after -b is in plaintext. Parent topic: Homomorphic Encryption
Requirements Data such as user identities must be encrypted to protect the information against brute force attack. Quick information queries based on identities must be supported.
You can choose from multiple storage services to store the encrypted data to be exchanged. The one calling the API is responsible for storing ciphertexts to publicly accessible storage devices. Roles Trusted data exchange involves two roles: data owner and data applicant.
The encrypted balance amount is added to the users' ledgers. A storage structure is defined in the demo.
For an MSP private key: In the insert function of the main.go file, invoke the function: encryptedbytekey,_:= GetPrivateKeyBytes(org) // Retrieve the encrypted MSP private key from the specified directory in the configuration file. // Decrypt encryptedbytekey using the specified
The returned invocation result is TransactionID encrypted using Base64, and the query result is data encrypted using Base64. The code is for reference only. You can use this project code to understand how to invoke RESTful APIs. Parent topic: Demos
For an MSP private key, in the genFabricUser function of the FabricHelper file, invoke the function: // Retrieve the encrypted MSP private key from the specified directory in the configuration file.
Once the customer opens a bank account, the reviewed trusted identity information is recorded to the blockchain and is encrypted and shared to other banks. Then, the customer can apply for accounts with other banks without repeating the approval process.
Description applyer String Applicant identifier. applyerName String Applicant name. provider String Authorizer identifier. providerName String Authorizer name. service String Service name of the authorizer. price Integer Price. applyTime String Application time. encryptedABEKey String Encrypted
Description applyer String Applicant identifier. applyerName String Applicant name. provider String Authorizer identifier. providerName String Authorizer name. service String Service name of the authorizer. price Integer Price. applyTime String Application time. encryptedABEKey String Encrypted
price String Data price. encryptedAesKey String Private key. status String Status. publishTime String Data publishing time. dataFiles Array of DataFile objects Data file list. sampleFiles Array of DataFile objects Sample file list. category String Encryption type. encryptData String Encrypted
using user A' homomorphic public-key encryption) newCipherTxB string Transaction amount (encrypted using user B' homomorphic public-key encryption) err error Error message Note In this money transfer transaction, user A is the payer, and B the payee.
Yes Output Parameter Type Description privKeyStr string Homomorphic private key encrypted using the pwd pubKeyStr string Public keychain for homomorphic encryption err error Error message Note The complexity of keys depends on the actual application scenario.
Table 3 VCOrder Parameter Type Description applyer String Applicant identifier. orderSeq String Order number. applyTime String Application time. price String Price. status String Status. service String Service. reason String Reason. dataUri String VC data URI. encryptedAesKey String Encrypted
parameters Parameter Type Description applyer String Applicant identifier. orderSeq String Order number. applyTime String Application time. price String Price. status String Status. service String Service. reason String Reason. dataUri String VC data URI. encryptedAesKey String Encrypted
Description applyer String Applicant identifier. applyerName String Applicant name. provider String Authorizer identifier. providerName String Authorizer name. service String Service name of the authorizer. price Integer Price. applyTime String Application time. encryptedABEKey String Encrypted