/Flyhigh_PrivateInformation

OmniDoc 공인인증서 관리 (WAS&WEB)

Primary LanguageJava

JSON Request/Response Body Example

getList (POST /private/getList)

Request Body
{
  "username" : "LeeHaeIn"
}
  • username: OmniDoc Demo App 사용자 이름
Response Body
{
  "count": 2,
  "account":[
  {
    "subject": "LeeHaeIn",
    "validity":{
      "notAfter": "Thu Jun 02 09:00:00 KST 2022",
      "notBefore": "Wed May 31 09:00:00 KST 2017"
    }
  },  
  {
    "subject": "KimHaeIn",
    "validity":{
      "notAfter": "Thu Jun 02 09:00:00 KST 2022",
      "notBefore": "Wed May 31 09:00:00 KST 2017"
    }
  }
  ]
}

getInfo (POST /private/getInfo)

Request Body
{
  "pubKey" : "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAh31XfhKQQM5fzC6M9qWqxqy0PZFWs8WUQpFg62errZxUcvclsaRtlTYCrvT+/HJ2jkMyqJTU+XxthyGKZJlC56n/BR6aDZ+yewVBRJfrumuUbkVyciS2QYg4cSx3CemYMXpxPKLCO+mR5KC+KHeEo1VOt1FowzxAnBvDU6ogxkF9hHR8erZlX1pKXzXnF2rYXENzhq2lU0tPC/PIsp8OcI8RuKeUu00e/cM5JvViA+4lj2GB64S1vgnnT3Y5pW68aXIqyl1CN5rM6GsE0TicSOeKT1EPCosnSDfbG+yQlolSmHZEKvLboz7SEl9lkAhoNfe0KfKlQBWKeByPGKJpkQIDAQAB",
  "cKey" : "PogxnZGcllEFo2yJOfOHiBtmZ8B6UfwDgY6k2bcvqr9GBY04ncY4z5ofALKXqegiigsXZhDkKfu8FoUfBc+HezoHeFaGEG3aXzaHsdQOaLFusvQGYw3W7YtOfMBhm4hpuwhviywYw0vY5Gkss+hQ32Vh2UODNDW+raU9arzTd5UOupI+JCIDwBQJvUq1Zn4rseI8UDRiOjTiNOq8hXBc0raAH+l90B4G1TweZ2hmancQcCqMHnVX7HSZmx3/IMi7EjdoXSYRhez1c3fzw6xIjVhJPPrXOni+z7lzr1ZrgIhKfdJbHQPJqn7dBdJSNUg2MlicRn9nlU9wRPhP9DfBZA==",
  "username" : "LeeHaeIn",
  "subject" : "KimHaeIn",
  "validity" : {
    "notAfter": "Thu Jun 02 09:00:00 KST 2022",
    "notBefore": "Wed May 31 09:00:00 KST 2017"
  }
}
Response Body
{
  "count": 2,
  "sKey": "gsLBVfAAu8TmSMcHYgZ1lzhOzyuhp4q7ABvskrPKvv0RAIcDr346PC/05jOUnyxQSVg9vPD5TxrFVpI2hlBLxf+ykH7ZmR2fFn8DEIipk5uaOA6Wxw09aHZrh4Kw6jf5TVsxkZUcd8q46QXfOWEyPJvrpqy8PIHxJFfamrtB7ZwRhogA5YcjG4328CkkAI8orD1I/XNXLztKfdVJN8tD6S8tG2FTKOD/KTKcHO3sraMzqM7Q3u1ve9+lfK/IYJ39EGEg6HFS2u1X7BB8u+k/Y3qHQNZoRnTUUoNJ0vVFrvtNdUV4ZtJzWvP5YlLnNMiUAwoCinAR/Ckei0jaG77zuA==",
  "encryptedElements":[
  {
    "name": "cert_pw"
  },
  {
    "name": "certification"
  },
  {
    "name": "account/site"
  },
  {
    "name": "account/id"
  },
  {
    "name": "account/pw"
  }
  ],
  "cert_pw": "s110tW3UZKuyP6epkrOexA==",
  "account":[
  {
    "site": "AAWMdh/P4qznENE5xPS7hg==",
    "pw": "WYXE8uxnASKkItYCVlZx9g==",
    "id": "Y7ez/65dq9LsGXFVNsQPKw=="
  },
  {
    "site": "D34DlJWAMB7AHWuRIrgBKA==",
    "pw": "WYXE8uxnASKkItYCVlZx9g==",
    "id": "Y7ez/65dq9LsGXFVNsQPKw=="
  }
  ],
  "certification": "ZyI04+YDjTd6qonj8kwuTTwGDIKo7HK8D+UCIap5MQeemiN8T2jqPnh0dBLAVzVBexo1WwA1INA6BM+No7PjfgRfUUPuq9Ye2ga8I4kv4hfoqIRkV+l1xk5Vz1rGN5IF1L3LAbvRqG2Lz4pSySeYW2lVPqibP3hIk4RxUiGT3ANn25D3X6wArRrVfXjeO8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8ICIp1mccKey1luVSuUr2z9QcZBCH1SktGLWRFnHMnW68NLhvKORX4ibdJRFksu7TyF9voOJAQ8XxCaxJEdIerQ+QjQPGsLNv4u02cgxFz3lywqIMmyWKh0Y3mJcoY+9sI7cLb7YYko02FvAsGuHp7VnaUffQr/3nPcvtawER8T7Xy8F2egrNs7klg4bQNIE59hVZUA76OshiJaCpWVNWykkv+9p31d0iS/yD2TfaarVGUzSUGA+twKR0xSjyUb3XdfhLbPKSIcT4GouO7/nNdVfSevVPEwc1tTWWS8lN872odzOG+9chb6QBLVob+81q1+kUWQwjLufhYmzfCXoOmd8KyoA6w0eoSH8zd/KRxuuLG3LjRpYUmgTiruYw5aOsmfRFdREQPfWT6bvD504/K8W3gKKO0rZp9aLCMi+lpegp6JFZW34cjiskWRt5bsR+/5zkT3vASnv18tb0NX7x6xwbXgPNZ0GAOEDqyDN1KAw2R32ZKQknkeUnBasHX4RxWDFVkwha8Zhn2GNuA=="
}

register (POST /private/register)

Request Body
{
  "pubKey" : "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAh31XfhKQQM5fzC6M9qWqxqy0PZFWs8WUQpFg62errZxUcvclsaRtlTYCrvT+/HJ2jkMyqJTU+XxthyGKZJlC56n/BR6aDZ+yewVBRJfrumuUbkVyciS2QYg4cSx3CemYMXpxPKLCO+mR5KC+KHeEo1VOt1FowzxAnBvDU6ogxkF9hHR8erZlX1pKXzXnF2rYXENzhq2lU0tPC/PIsp8OcI8RuKeUu00e/cM5JvViA+4lj2GB64S1vgnnT3Y5pW68aXIqyl1CN5rM6GsE0TicSOeKT1EPCosnSDfbG+yQlolSmHZEKvLboz7SEl9lkAhoNfe0KfKlQBWKeByPGKJpkQIDAQAB",
  "cKey" : "PogxnZGcllEFo2yJOfOHiBtmZ8B6UfwDgY6k2bcvqr9GBY04ncY4z5ofALKXqegiigsXZhDkKfu8FoUfBc+HezoHeFaGEG3aXzaHsdQOaLFusvQGYw3W7YtOfMBhm4hp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sG2Zr/zDND23/ags2ckN5v0GCkVUnwlcOz7c8y0tIKhSNbASv9gAkg2LdUw3RGArNRl237OEPTiBuB8PuVESteb0ik8D8pw2enOC/w7FfSDZOrk5Q1v4d1QUhUUrXcE6JGQri5Yylp8a3V6DWl0HZofnkm9Pa2yQzBdnqMrsC3oHnPFA0W6HVo4FkyOAIx0t6jyzSLHH4VVmcAg1V73yOxY16N8DYFu7DhorbU9MEVMy4qwyIOf9X9z4+FF449mYbbzm1R4yrDI75Q=",
    "key" : "key file"
  },
  "count" : 1,
  "account": [
    {
      "site" : "kb.com",
      "id" : "id_1",
      "pw" : "pw_1"
    }
  ]
}
Response Body
{
  "subject": "ChoiHaeIn",
  "count": 1,
  "validity":{
    "notAfter": "Thu Jun 02 09:00:00 KST 2022",
    "notBefore": "Wed May 31 09:00:00 KST 2017"
  },
  "registerDate": "2020-07-21"
}

modify (POST /private/modify)

수정중

Request Body
Response Body

delete (POST /private/delete)

Request Body
{
  "subject": "JeongHaeIn"
}
Response Body
{
  "subject": "JeongHaeIn"
}