Skip to content

payprotocol/kiesnet-cc-id

Repository files navigation

Kiesnet Identity Chaincode

API

method func [arg1, arg2, ... ] {trs1, trs2, ... }

  • method : query or invoke
  • func : function name
  • [arg] : mandatory argument
  • [arg] : optional argument
  • {trs} : mandatory transient
  • {trs} : optional transient

query get

  • Get invoker's identity { kid, sn }

query kid

  • Get invoker's KID

query list [bookmark]

  • Get invoker's certificates list

invoke lock

  • Lock the identity with the invoker's certificate

invoke register

  • Register invoker's certificate

invoke revoke [serial_number]

  • Revoke the certificate

invoke unlock

  • Unlock the identity with the invoker's certificate
  • The invoker's certificate must be the certificate which was used to lock the identity.

query ver

  • Get version

About

Kiesnet Identity Chaincode

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages