key
Agent Server REST API
addsymmetrickey
POST
http://dev.whitehat.co.kr/agent/v1/key/addsymmetrickey
API that searches the symmetric key
Headers
X-AGENT-API-TOKEN
string
required token for searching the Agent API (issuing console)
Request Body
id
string
id of the symmetric key
key
string
symmetric key
Request Parameter example (JSON)
getsymmetrickey
POST
http://dev.whitehat.co.kr/agent/v1/key/getsymmetrickey
API that searches the symmetric key
Headers
X-AGENT-API-TOKEN
string
required token for searching the Agent API (issuing console)
Request Body
id
string
symmetric key to search
issuerDid
string
Issuer's DID who issued the VC
serviceCode
string
SP's service code
spDid
string
SP's DID who is requesting for the VC verification
token
string
Issued token with the getauthtoken API
userDid
string
Targeted user DID the VC verification
vcDefCode
string
Definition code for the VC verification
cost
string
VC verification cost
Request Parameter example (JSON)
getauthtoken
POST
http://dev.whitehat.co.kr/agent/v1/key/getauthtoken
API that issues token with the SP proof to search the symmetric key
Headers
string
required token for searching the Agent API (issuing console)
Request Body
id
string
SP's DID
proof
string
SP's Proof information
type
string
Proof type information
Request Parameter example (JSON)
Last updated