c2go

package
v0.3.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAndStoreMyDid

func CreateAndStoreMyDid(wallet int, didJSON string) ctx.Channel

func CryptoAnonCrypt

func CryptoAnonCrypt(recipientKey string, msgBytes []byte) ctx.Channel

func CryptoAnonDecrypt

func CryptoAnonDecrypt(wallet int, recipientKey string, msgBytes []byte) ctx.Channel

func CryptoAuthCrypt

func CryptoAuthCrypt(wallet int, senderKey, recipientKey string, msgBytes []byte) ctx.Channel

func CryptoAuthDecrypt

func CryptoAuthDecrypt(wallet int, recipientKey string, msgBytes []byte) ctx.Channel

func FindyBuildAttribRequest

func FindyBuildAttribRequest(sDID, tDID, hasc, raw, enc string) ctx.Channel

func FindyBuildCredDefRequest

func FindyBuildCredDefRequest(submitter, data string) ctx.Channel

func FindyBuildGetAttribRequest

func FindyBuildGetAttribRequest(sDID, tDID, hasc, raw, enc string) ctx.Channel

func FindyBuildGetCredDefRequest

func FindyBuildGetCredDefRequest(submitter, id string) ctx.Channel

func FindyBuildGetNymRequest

func FindyBuildGetNymRequest(submitterDid, targetDid string) ctx.Channel

func FindyBuildGetSchemaRequest

func FindyBuildGetSchemaRequest(submitter, id string) ctx.Channel

func FindyCreatePairwise

func FindyCreatePairwise(wallet int, theirDID, myDID, metaData string) ctx.Channel

func FindyCryptoSign

func FindyCryptoSign(wallet int, signerVerKey string, msg []byte) ctx.Channel

findy_crypto_sign

func FindyCryptoVerify

func FindyCryptoVerify(signerVerKey string, rawMsg, rawSignature []byte) ctx.Channel

findy_crypto_verify

func FindyDeleteWallet

func FindyDeleteWallet(config, credentials string) ctx.Channel

func FindyExportWallet

func FindyExportWallet(wallet int, exportCfg string) ctx.Channel

func FindyGetDidMetadata

func FindyGetDidMetadata(wallet int, did string) ctx.Channel

func FindyGetEndpointForDid

func FindyGetEndpointForDid(wallet, pool int, did string) ctx.Channel

func FindyGetMyDidWithMeta

func FindyGetMyDidWithMeta(wallet int, did string) ctx.Channel

func FindyGetPairwise

func FindyGetPairwise(wallet int, theirDID string) ctx.Channel

func FindyImportWallet

func FindyImportWallet(config, credentials, importCfg string) ctx.Channel

func FindyIsPairwiseExists

func FindyIsPairwiseExists(wallet int, theirDID string) ctx.Channel

func FindyIssuerCreateAndStoreCredentialDef

func FindyIssuerCreateAndStoreCredentialDef(wallet int, did, schema, tag, sigType, config string) ctx.Channel

func FindyIssuerCreateCredential

func FindyIssuerCreateCredential(wallet int, credOffer, credReq, credValues, revRegID string, blobHandle int) ctx.Channel

func FindyIssuerCreateCredentialOffer

func FindyIssuerCreateCredentialOffer(wallet int, credDefID string) ctx.Channel

func FindyIssuerCreateSchema

func FindyIssuerCreateSchema(did, name, version, attrNames string) ctx.Channel

func FindyKeyForLocalDid

func FindyKeyForLocalDid(wallet int, did string) ctx.Channel

func FindyListPairwise

func FindyListPairwise(wallet int) ctx.Channel

func FindyPackMessage

func FindyPackMessage(wallet int, msgBytes []byte, recipientKeysJSON, senderKey string) ctx.Channel

func FindyParseGetCredDefResponse

func FindyParseGetCredDefResponse(credDefResp string) ctx.Channel

func FindyParseGetSchemaResponse

func FindyParseGetSchemaResponse(response string) ctx.Channel

func FindyProverCloseCredentialsSearchForProofReq

func FindyProverCloseCredentialsSearchForProofReq(searchHandle int) ctx.Channel

func FindyProverCreateCredentialReq

func FindyProverCreateCredentialReq(wallet int, prover, credOffer, credDef, master string) ctx.Channel

func FindyProverCreateMasterSecret

func FindyProverCreateMasterSecret(wallet int, id string) ctx.Channel

func FindyProverCreateProof

func FindyProverCreateProof(wallet int, proofReq, reqCred, masterSec, schemas, credDef, revStates string) ctx.Channel

func FindyProverFetchCredentialsForProofReq

func FindyProverFetchCredentialsForProofReq(searchHandle int, itemRef string, count int) ctx.Channel

func FindyProverSearchCredentialsForProofReq

func FindyProverSearchCredentialsForProofReq(wallet int, proofReqJSON, extraQueryJSON string) ctx.Channel

func FindyProverStoreCredential

func FindyProverStoreCredential(wallet int, credID, credReqMeta, credentials, credDef, revRegDef string) ctx.Channel

func FindySetDidMetadata

func FindySetDidMetadata(wallet int, did, meta string) ctx.Channel

func FindySetEndpointForDid

func FindySetEndpointForDid(wallet int, did, address, key string) ctx.Channel

func FindySetPairwiseMetadata

func FindySetPairwiseMetadata(wallet int, theirDID, metaData string) ctx.Channel

func FindySetRuntimeConfig

func FindySetRuntimeConfig(config string) int

func FindyStoreTheirDid

func FindyStoreTheirDid(wallet int, idJSON string) ctx.Channel

func FindySubmitRequest

func FindySubmitRequest(poolHandle int, requestJSON string) ctx.Channel

func FindyUnpackMessage

func FindyUnpackMessage(wallet int, msgBytes []byte) ctx.Channel

func FindyVerifierVerifyProof

func FindyVerifierVerifyProof(proofReqJSON, proofJSON, schemasJSON, credDefsJSON, revRegDefsJSON, revRegsJSON string) ctx.Channel

func KeyForDid

func KeyForDid(pool, wallet int, did string) ctx.Channel

func LedgerBuildNymRequest

func LedgerBuildNymRequest(submitterDid, targetDid, verkey, alias, role string) ctx.Channel

func LedgerBuildSchemaRequest

func LedgerBuildSchemaRequest(submitterDid, data string) ctx.Channel

func LedgerSignAndSubmitRequest

func LedgerSignAndSubmitRequest(pool, wallet int, submitterDid, request string) ctx.Channel

func ListDids

func ListDids(wallet int) ctx.Channel

func PoolCloseLedger

func PoolCloseLedger(handle int) ctx.Channel

func PoolCreateConfig

func PoolCreateConfig(name, configJSON string) ctx.Channel

todo: consider moving these helper functions to internal package there are no need that they are visible

at least this moment. when we have rest api things might change.

MARK: pool helper functions

func PoolList

func PoolList() ctx.Channel

func PoolOpenLedger

func PoolOpenLedger(name string) ctx.Channel

func PoolSetProtocolVersion

func PoolSetProtocolVersion(version uint64) ctx.Channel

func WalletClose

func WalletClose(handle int) ctx.Channel

func WalletCreate

func WalletCreate(config, credentials string) ctx.Channel

func WalletGenerateKey

func WalletGenerateKey(seed string) ctx.Channel

func WalletOpen

func WalletOpen(config, credentials string) ctx.Channel

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL