Schema

Link to schema

SkyTrust Operations

discoverKeys-certificate

  • Protocol version: since V1.3

discoverKeys-handle

  • Protocol version: since V1.3

cryptoOperationRequest-sign (DEPRECATED)

  • Protocol version: since V1.3
  • Algorithms:
    • RSASSA-PKCS1-v1_5-SHA-1 (since V1.3)
    • RSASSA-PKCS1-v1_5-SHA-224 (since V1.3)
    • RSASSA-PKCS1-v1_5-SHA-256 (since V1.3)
    • RSASSA-PKCS1-v1_5-SHA-512 (since V1.3)
  • Deprecated: Since V1.4, will be removed/modified in V2.0

cryptoOperationRequest-encrypt (DEPRECATED)

  • Protocol version: since V1.3
  • Algorithms:
    • RSAES-PKCS1-v1_5 (since V1.3)
    • RSA-OAEP (since V1.3)
    • RSAES-RAW (since V1.3)
  • Deprecated: Since V1.4, will be removed/modified in V2.0

cryptoOperationRequest-decrypt (DEPRECATED)

  • Protocol version: since V1.3
  • Algorithms:
    • RSAES-PKCS1-v1_5 (since V1.3)
    • RSA-OAEP (since V1.3)
    • RSAES-RAW (since V1.3)
  • Deprecated: Since V1.4, will be removed/modified in V2.0

encryptRequest

  • Protocol version: since V1.4
  • Algorithms:
    • RSAES-PKCS1-v1_5 (since V1.3)
    • RSA-OAEP (since V1.3)
    • RSAES-RAW (since V1.3)

decryptRequest

  • Protocol version: since V1.4
  • Algorithms:
    • RSAES-PKCS1-v1_5 (since V1.3)
    • RSA-OAEP (since V1.3)
    • RSAES-RAW (since V1.3)

encryptCMSRequest

  • Protocol version: since V1.4
  • Algorithms:
    • CMS-AES-128-CBC (since V1.4)
    • CMS-AES-192-CBC (since V1.4)
    • CMS-AES-256-CBC (since V1.4)
    • CMS-AES-128-GCM (since V1.4)
    • CMS-AES-192-GCM (since V1.4)
    • CMS-AES-256-GCM (since V1.4)

decryptCMSRequest

  • Protocol version: since V1.4
  • Algorithms:
    • CMS-AES-128-CBC (since V1.4)
    • CMS-AES-192-CBC (since V1.4)
    • CMS-AES-256-CBC (since V1.4)
    • CMS-AES-128-GCM (since V1.4)
    • CMS-AES-192-GCM (since V1.4)
    • CMS-AES-256-GCM (since V1.4)

signRequest

  • Protocol version: since V1.4
  • Algorithms:
    • RSASSA-PKCS1-v1_5-SHA-1 (since V1.3)
    • RSASSA-PKCS1-v1_5-SHA-224 (since V1.3)
    • RSASSA-PKCS1-v1_5-SHA-256 (since V1.3)
    • RSASSA-PKCS1-v1_5-SHA-512 (since V1.3)

discoverKeys-certificate

hi am discoverKeys-certificate

Request

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : "java-api-instance"
  },
  "payload" : {
    "type" : "discoverKeysRequest",
    "representation" : "certificate",
    "command" : "discoverKeys"
  }
}

Response

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : [ ]
  },
  "payload" : {
    "type" : "discoverKeysResponse",
    "key" : [ {
      "representation" : "certificate",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "geFzL1lLxl2neEAUM/zR7uSYmrM=",
      "encodedCertificate" : "MIIEoDCCBAmgAwIBAgIHAoma5vyQ4jANBgkqhkiG9w0BAQUFADBAMSIwIAYDVQQDExlJQUlLIFRlc3QgSW50ZXJtZWRpYXRlIENBMQ0wCwYDVQQKEwRJQUlLMQswCQYDVQQGEwJBVDAeFw0xMzEwMDMxMDAxMThaFw0yMzEwMDMxMDAxMThaMIHSMQswCQYDVQQGEwJBVDENMAsGA1UEBxMER3JhejEmMCQGA1UEChMdR3JheiBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kxSDBGBgNVBAsTP0luc3RpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczETMBEGA1UEBBMKUmVpdGVyIEVuYzEQMA4GA1UEKhMHQW5kcmVhczEbMBkGA1UEAxMSQW5kcmVhcyBSZWl0ZXIgRW5jMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyLHX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5T0bVDghd",
      "metaInformation" : {
        "genericMetaInformation" : ""
      }
    }, {
      "representation" : "certificate",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "qNtJnzDmxkxe2WJkxsWkqudrZ7M=",
      "encodedCertificate" : "MIIFZTCCA00CAQEwDQYJKoZIhvcNAQEFBQAwXDELMAkGA1UEBhMCQVQxDzANBgNVBAgMBlN0eXJpYTENMAsGA1UEBwwER3JhejEPMA0GA1UECgwGdHVncmF6MRwwGgYJKoZIhvcNAQkBFg10ZXN0QHRlc3QuY29tMB4XDTE0MDgwNzEzMTUzM1oXDTE1MDgwNzEzMTUzM1owgZQxCzAJBgNVBAYTAkFUMQ8wDQYDVQQIDAZTdHlyaWExDTALBgNVBAcMBEdyYXoxDzANBgNVBAoMBnR1Z3JhejEQMA4GA1UECwwHc3R1ZGVudDEUMBIGA1UEAwwLb3R0byB0b3V6aWwxLDAqBgkqhkiG9w0BCQEWHW90dG8udG91emlsQHN0dWRlbnQudHVncmF6LmF0MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA17lKk0fHsoi2WNycMVZ3DCgBmIMfTplRHDMdQtKXOR07LunXeZ3MLOB3ZHKHzhe+AHPUpQQv9tz6tr0+qKLbdX3jj0AOgeGPkqVLpPfP20FjzRMtZO4MrMp7wR4y1+ig5s0wfuYbGayUxXL6qwCQuT38Et0QsTiiKZNwKyLc1AYEbjaJDR5mQlo0R7GmwWrNiB0q5MNGK86YM2ooHN/UpnI3aFKhJ0I6pAfAHO3cFtUq1rafmilHAGfAKZ+XIyVcXXV5cO30oUfYeRCi0qWfEROI5B2I3vQPO6Ac2mraz9rP993wQYpjZ/+G7WQ1zgyXB53EEaG4DMaUDTyxWjQJNuYl2jnu5H3vcn2JOrtboEtBdUakec0xpnOXwpCypYWH3F7mg6yMGfn2Q0guXbWN1YAp6fZTlitZLfV5fXCw1MrXNqoc2mv1bMJTraSXrrht2TIL6TE9KyuTZKq0kfB/r9f5MY2O5o/4Qok3P5lSR2qYX82cQydsI2zD6kMgfdHfOGAO3ptESz/NuXjik+SQdsdTTpebO2XxGJKWnt2r7HzoinSOZieiZT2sdbIegprAMaVV3CVP01ZqDKwFt+0yq5chH7uJ/o0USfp/83iZajS1ZkWkv2+SkHw5hozynP6bSC5imDNafifHC8F9vujhYMaCDjiqG2oUnFLbEU/o0tECAwEAATANBgkqhkiG9w0BAQUFAAOCAgEAJJ4R2vbJhzpnyrHAuvueFGupu7Mi7YtFNdhoI+AL4X3RxWgfi29hgmb2veW4gKlqJBjsJo7D9goc5zpd51PacU3Mvl0fbSub2sLJnp14T8fweWdJcp0rfNN7t/J9+RLiFEuG9iSQfoySc8yvJfRljkOxs0LmrF/klwB4iajffOFLySpRorDT8+v6uJveRcNxO7j4fqRkwsTH9O+2vAGTd1XxfMqufJFbARRd4iQFWJvNiy55bBBqa2up6FRVh3IVym0eyIGOU9xglTMYxHPc8Nu+6XSjgqDxslMbSOK6O7qg06oarlCrOyQolxUDBgwk87PqH7MxULuT0SMuZE4GpgZ3Wfq8sl7Fq+vxqxgMW0nk2UVVN0+xtllL8vbI/EFsuoRYLbs8+9I4xQPayD3Ax8QF/4Gtm6sr+Dd2KbJQ6FtxZ9QjxpoGvCXgBN0nCPGXpUgaKQQxiV1WCoouciOw1sNDru7+FcLrIUgFshdry08N6KSdCfwRIcZIjPeV5iZHPsNx/MZGth4AcmgBmNpWMioOmim2Zg4NNHJMlNw9qoHx+haEBrWSxncX4jkCoiQuXC28T9+iIrZO2hjqpkPC2DHZXDk4rgSy5J8KLt0oshwx1t1zlyUJHgrSTBSaoqeGTGNjndI7m9kw4ccYpTRjlK1s99Il9F+I4IoJRwshEIw=",
      "metaInformation" : {
        "genericMetaInformation" : ""
      }
    }, {
      "representation" : "certificate",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "3tF4bwxn8jpAVoCk0jzkCLTwLJ4=",
      "encodedCertificate" : "MIIDVzCCAsCgAwIBAgIHARTz1EoFiDANBgkqhkiG9w0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GYKKVdgI3DtFhuZxjr153AA2wAiv7/AjELo3V+LYavlxEwaQ==",
      "metaInformation" : {
        "genericMetaInformation" : ""
      }
    } ]
  }
}

discoverKeys-handle

hi am discoverKeys-handle

Request

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : "java-api-instance"
  },
  "payload" : {
    "type" : "discoverKeysRequest",
    "representation" : "handle",
    "command" : "discoverKeys"
  }
}

Response

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : [ ]
  },
  "payload" : {
    "type" : "discoverKeysResponse",
    "key" : [ {
      "representation" : "handle",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "geFzL1lLxl2neEAUM/zR7uSYmrM=",
      "metaInformation" : {
        "genericMetaInformation" : ""
      }
    }, {
      "representation" : "handle",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "qNtJnzDmxkxe2WJkxsWkqudrZ7M=",
      "metaInformation" : {
        "genericMetaInformation" : ""
      }
    }, {
      "representation" : "handle",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "3tF4bwxn8jpAVoCk0jzkCLTwLJ4=",
      "metaInformation" : {
        "genericMetaInformation" : ""
      }
    } ]
  }
}

cryptoOperationRequest-sign (DEPRECATED)

hi am cryptoOperationRequest-sign

Request

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : "java-api-instance"
  },
  "payload" : {
    "type" : "cryptoOperationRequest",
    "cryptoParams" : {
      "key" : {
        "representation" : "keyIdentifier",
        "id" : "keyslotname-to-be-fetched-from-config",
        "subId" : "geFzL1lLxl2neEAUM/zR7uSYmrM="
      },
      "algorithm" : "RSASSA-PKCS1-v1_5-SHA-256"
    },
    "load" : [ "SGVsbG8gYmx1ZSBTa3kh", "SGVsbG8gbmlnaHQgU2t5IQ==", "SGVsbG8gdHJ1c3RlZCBTa3kh" ],
    "command" : "sign"
  }
}

Response

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : [ ]
  },
  "payload" : {
    "type" : "responseWithLoad",
    "load" : [ "q+XpXzeRKrdcRd3FGq0YWHkvWrHLMWgfKLvbJuAC10vaZB0NlHtnp0YCTpphdQpBYHUKX33lAbs0Qm0h94c21whLQxfwLsvCVZWyiIaLfRmg199IyGf5UsD1D0dcsjwvinPjrnbg4kJceQQN+g6DOA9pBI7UfVk2lS+8SyGvM5Pgouq+DbEZZ+Ocvclwtm3meXaPrtucrk4HslbvD7nX+1mrnrzTsmiskkq0Ft9ZW5UgDwWbdSUvtwKmVW/qt/aHZ3c9k5Jkjf0Ri2fx6edbzmqLvsDIgFFhdl7RWwrNcZmVkewaKQi2VJp0MK8NEiVnxnm6BymgV9SxcnHL/TwrFQ==", "ATV3r2iZy0zaSd2KMhLXpg8QSu1b8kXRWSXIjMNk8wT0aCUdt/PsNSxhXg5nvq8nSkL9TIwVf9y8TtSeuotoSk7KKGO1Kp2GCdwqcyh270jb7X4sBtZMw7KZ3VhchkLHfN3Y0bml5FsCJM3PG7YFQ9bUpbizwspH8ocZMH+9kvO8Hwy7LCocgalosBGu1YrJHmUr4f/Awl9Dq9NQSomJBVAuErowOgZT6yQJt+nAxO+8US7UVcChq6Kzq/zBjlG1ynJBURwC/QvWbn3qhN/nGi/m5PBTFuEmMv2bK5trisc4pI1ZkA+bBSUB3mIsA+8MnHOJ0iVzFxBxDPfV24JUTg==", "Bw6uIilugOqjQ7Q1IzPqhq+vOdze6gPp2r6cDTGZ88p2T+JTgwtT3MmIr0dkvtatsXzitmK3oEp4H/5qVWjYaEKbqyg1i7rqNBDuaLg7jck8bqI3Jygx/idgDWIgM7w35wIZ0QVpsz231srkiPAH0wQQO9H+DTS0iIrbMjMnpFbIB4RsfNRLj+vPVPKWzn34ZIMMVFhHiQcVtPgPK2iJVFG3GjyhMIYfYuL54dl6day2YtPRpCdX5eQE156K1qBK9+LmYMgwGXc2NdK5739T9eWTGNFYhSj5NN821a291XeZohn4zv7Xy9leEwKM1lkdMTGCp60pxFpLMhrikRNolQ==" ]
  }
}

cryptoOperationRequest-encrypt (DEPRECATED)

hi am cryptoOperationRequest-encrypt

Request

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : "java-api-instance"
  },
  "payload" : {
    "type" : "cryptoOperationRequest",
    "cryptoParams" : {
      "key" : {
        "representation" : "keyIdentifier",
        "id" : "keyslotname-to-be-fetched-from-config",
        "subId" : "geFzL1lLxl2neEAUM/zR7uSYmrM="
      },
      "algorithm" : "RSAES-PKCS1-v1_5"
    },
    "load" : [ "SGVsbG8gYmx1ZSBTa3kh", "SGVsbG8gbmlnaHQgU2t5IQ==", "SGVsbG8gdHJ1c3RlZCBTa3kh" ],
    "command" : "encrypt"
  }
}

Response

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : [ ]
  },
  "payload" : {
    "type" : "responseWithLoad",
    "load" : [ "pYHJbadcty9bknwD5xNAlBVYu7Rat6+Ugayayn1HI1YMbeUfSVLxUT+xAPIV+30mUpK4kIH6fWHH7ebsniwDQ3CkhsmQ6SRWon3yx/7TGZBfaYwWi+ZZ0yzjaaL5Ww/TmzNv2vfN0N6+GOaJdlE/1zt0nzND2+vflbyMHAa9naljXf4IMow0OcY8KHm8qFwv0KcuPlzInRP/cPASHYO7UwFIUfGzuaUWyStQbu0eQYrgluw1yLzctNFTeZw8wtC15ArHTi3nmfBot/j/1Zj17jBngUScfl44CHI7fU4dY/AuIdf2h23GENXAYvglJ/JgiLTg+gMoNVcXXMSnbkgbpQ==", "ij1myqu0oFwnmXJdUoDfomiUo8czto2s4pLm5w+Pr+si5MfaJlPj6OJPI5nHHuNA73DToyXPjpgarIlsTaVzqF1QUkEctZFLn5TPsCO5px0Aru6Vg2eAz/iokTGWhR0otElAvCF/QIp6yixsWNGVo9zaY4p2cIQs1dKI4Z6QvFIqTipJSUPRoO7ciRBZBtEURb+VFD6cH4VhSzcYOXougKNEXKoLXkpZj+pXO1Q8TtCd2qNWc0TUxA65J7iE42WmNNnJSv3Uv6oWRDHbeuQvCI/zl0JV+L5mfHmYx5gzWQG1aD7yvVtaambLt4Qgf+F1+7Rp42TWVCEcXR71Xh74KA==", "CUSn8EJ/5DAgWysTqB5cYoQ2jsqiTm2BvdWq6XKDO2n1UrHI+QuaPzpT959K1Oq4JQ1weOU3mUwnAdrh0RJGCyaaqMWWbHfzySLD30sYgJ5Lh8C3GEhi91XuXhrgP0drv8QaxqO1z6djvkIDe2thdcEUygvIKS8TnvQEUApelmYu2Z0Q+WG7sGhrTH/LyMSGOSPDfH+MSiG4YHamaYkSCDjhQPUzg9MCYM1tdp1nQWbtD/ULcXawgmuPYRKJg6Ki1bPpWvbw2nfVqIBMRmhowU15nZpsWPf/Q1bjVmE2SCGLuZEsFe/8UY0w/a1ymgE/QylS7DxLNimBpyqVA2zdRw==" ]
  }
}

cryptoOperationRequest-decrypt (DEPRECATED)

hi am cryptoOperationRequest-decrypt

Request

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : "java-api-instance"
  },
  "payload" : {
    "type" : "cryptoOperationRequest",
    "cryptoParams" : {
      "key" : {
        "representation" : "keyIdentifier",
        "id" : "keyslotname-to-be-fetched-from-config",
        "subId" : "geFzL1lLxl2neEAUM/zR7uSYmrM="
      },
      "algorithm" : "RSAES-PKCS1-v1_5"
    },
    "load" : [ "pYHJbadcty9bknwD5xNAlBVYu7Rat6+Ugayayn1HI1YMbeUfSVLxUT+xAPIV+30m\r\nUpK4kIH6fWHH7ebsniwDQ3CkhsmQ6SRWon3yx/7TGZBfaYwWi+ZZ0yzjaaL5Ww/T\r\nmzNv2vfN0N6+GOaJdlE/1zt0nzND2+vflbyMHAa9naljXf4IMow0OcY8KHm8qFwv\r\n0KcuPlzInRP/cPASHYO7UwFIUfGzuaUWyStQbu0eQYrgluw1yLzctNFTeZw8wtC1\r\n5ArHTi3nmfBot/j/1Zj17jBngUScfl44CHI7fU4dY/AuIdf2h23GENXAYvglJ/Jg\r\niLTg+gMoNVcXXMSnbkgbpQ==", "ij1myqu0oFwnmXJdUoDfomiUo8czto2s4pLm5w+Pr+si5MfaJlPj6OJPI5nHHuNA\r\n73DToyXPjpgarIlsTaVzqF1QUkEctZFLn5TPsCO5px0Aru6Vg2eAz/iokTGWhR0o\r\ntElAvCF/QIp6yixsWNGVo9zaY4p2cIQs1dKI4Z6QvFIqTipJSUPRoO7ciRBZBtEU\r\nRb+VFD6cH4VhSzcYOXougKNEXKoLXkpZj+pXO1Q8TtCd2qNWc0TUxA65J7iE42Wm\r\nNNnJSv3Uv6oWRDHbeuQvCI/zl0JV+L5mfHmYx5gzWQG1aD7yvVtaambLt4Qgf+F1\r\n+7Rp42TWVCEcXR71Xh74KA==", "CUSn8EJ/5DAgWysTqB5cYoQ2jsqiTm2BvdWq6XKDO2n1UrHI+QuaPzpT959K1Oq4\r\nJQ1weOU3mUwnAdrh0RJGCyaaqMWWbHfzySLD30sYgJ5Lh8C3GEhi91XuXhrgP0dr\r\nv8QaxqO1z6djvkIDe2thdcEUygvIKS8TnvQEUApelmYu2Z0Q+WG7sGhrTH/LyMSG\r\nOSPDfH+MSiG4YHamaYkSCDjhQPUzg9MCYM1tdp1nQWbtD/ULcXawgmuPYRKJg6Ki\r\n1bPpWvbw2nfVqIBMRmhowU15nZpsWPf/Q1bjVmE2SCGLuZEsFe/8UY0w/a1ymgE/\r\nQylS7DxLNimBpyqVA2zdRw==" ],
    "command" : "decrypt"
  }
}

Response

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : [ ]
  },
  "payload" : {
    "type" : "responseWithLoad",
    "load" : [ "SGVsbG8gYmx1ZSBTa3kh", "SGVsbG8gbmlnaHQgU2t5IQ==", "SGVsbG8gdHJ1c3RlZCBTa3kh" ]
  }
}

encryptRequest

Hi I am encrypt

Request

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : "java-api-instance"
  },
  "payload" : {
    "type" : "encryptRequest",
    "encryptionKeys" : [ {
      "representation" : "keyIdentifier",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "geFzL1lLxl2neEAUM/zR7uSYmrM="
    }, {
      "representation" : "keyIdentifier",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "qNtJnzDmxkxe2WJkxsWkqudrZ7M="
    }, {
      "representation" : "externalCertificate",
      "encodedCertificate" : "MIIEoDCCBAmgAwIBAgIHAoma5vyQ4jANBgkqhkiG9w0BAQUFADBAMSIwIAYDVQQDExlJQUlLIFRlc3QgSW50ZXJtZWRpYXRlIENBMQ0wCwYDVQQKEwRJQUlLMQswCQYDVQQGEwJBVDAeFw0xMzEwMDMxMDAxMThaFw0yMzEwMDMxMDAxMThaMIHSMQswCQYDVQQGEwJBVDENMAsGA1UEBxMER3JhejEmMCQGA1UEChMdR3JheiBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kxSDBGBgNVBAsTP0luc3RpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczETMBEGA1UEBBMKUmVpdGVyIEVuYzEQMA4GA1UEKhMHQW5kcmVhczEbMBkGA1UEAxMSQW5kcmVhcyBSZWl0ZXIgRW5jMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyLHXdCy/n9WjofFDG9X11vyBQESaDyNsY+XiRwxFMslJRYlG12yCN5ESle64HsfTMugOKxut1zlDVKefi5HqkZxf0pTeUd9lEZkLvXx5oUX95jsIZVHepumuw+aI1Fu4+O9kK/lTBHtSmR8vgPKXvnvdkgvFhKzlEUfpCth90JMN8pFzkzQaQWwQokZk3j325QYK0FYWua/HTZdDnzcboew4NPn0TJkSYbJQZb4QxIIBb72ZbyHK3v5TSmcG+QSbe/ZC5w++VPR60eMFfI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iSQfoySc8yvJfRljkOxs0LmrF/klwB4iajffOFLySpRorDT8+v6uJveRcNxO7j4fqRkwsTH9O+2vAGTd1XxfMqufJFbARRd4iQFWJvNiy55bBBqa2up6FRVh3IVym0eyIGOU9xglTMYxHPc8Nu+6XSjgqDxslMbSOK6O7qg06oarlCrOyQolxUDBgwk87PqH7MxULuT0SMuZE4GpgZ3Wfq8sl7Fq+vxqxgMW0nk2UVVN0+xtllL8vbI/EFsuoRYLbs8+9I4xQPayD3Ax8QF/4Gtm6sr+Dd2KbJQ6FtxZ9QjxpoGvCXgBN0nCPGXpUgaKQQxiV1WCoouciOw1sNDru7+FcLrIUgFshdry08N6KSdCfwRIcZIjPeV5iZHPsNx/MZGth4AcmgBmNpWMioOmim2Zg4NNHJMlNw9qoHx+haEBrWSxncX4jkCoiQuXC28T9+iIrZO2hjqpkPC2DHZXDk4rgSy5J8KLt0oshwx1t1zlyUJHgrSTBSaoqeGTGNjndI7m9kw4ccYpTRjlK1s99Il9F+I4IoJRwshEIw="
    } ],
    "algorithm" : "RSAES-PKCS1-v1_5",
    "plainData" : [ "SGVsbG8gYmx1ZSBTa3kh", "SGVsbG8gbmlnaHQgU2t5IQ==", "SGVsbG8gdHJ1c3RlZCBTa3kh" ]
  }
}

Response

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : [ ]
  },
  "payload" : {
    "type" : "encryptResponse",
    "encryptedData" : [ [ "vcyHSysD5nGNrc8+4EQvTGNxnkfTLJ//9oh3LEODpoxlzmFaMjhvw/jhMFrFlwMkZdzgcpeuNzuHUGgItSXKtZ9lQybz4TNdrU0sZqWgY12ycsZ9SoTKEu23LNJ4a3oe5iYrTrGBChh8Oi8sCJDU5plUmbaQHSHRolL9ShbaKdtUZjqFh0rr6REi2wrX6/7mF9k/qPw5C4Ce2EjJ9Lfc80PXPboqU/oP2/s12RVsl7nWeOhxXLgbZ3TkSYeoIxn0UDDXRI6p7DShSiPR7JVHEM0MnV5N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FWYg2ZT04H1hSYQv3MFVu0600WTvYHdgy0YYQGTAAKpbJo/1gIC1Yi3DIj3gy8wks8OFSYpbBdKZ2aovHtoxRUvqium9QF+ClsTPg05LCYaWTA3xefj5CJdrRT2k8yp/Nw+W1JgeXbvSqQTfMRqBuUl7eIBeaX1usd3FXQkoX3YtZHucwS0hNuwgQgDUSQELwL9EZk9jGN4Aye3A3DbVpHakTHWKqrlw009z7SsNGm5UilM0JKkvZzls3SiEfe0Ag7EOMVBzpub5FofLN0QbfIfZfptpe+XUBZcWzy4rXKAppBd9OPDsYgntJIfV/U+0tjXYTrMSXfIWDhfNfD2uGiiz6EZZKaclTStEJCUwB6656o+5jjZYiD/apBq3G+2ws1Cc3Tms6n/Gat6ESk8ktddvc1m+IYEDrzPVeUMOX9vLfixKDurxLZhwGDBd8mkTMtKO2gQxXAWk6pCHykwqFskRgF2ZCDLnhOpml5xHbBq0PG8/dmkQ=" ] ]
  }
}

decryptRequest

Hi I am decrypt

Request

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : "java-api-instance"
  },
  "payload" : {
    "type" : "decryptRequest",
    "decryptionKey" : {
      "representation" : "keyIdentifier",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "geFzL1lLxl2neEAUM/zR7uSYmrM="
    },
    "algorithm" : "RSAES-PKCS1-v1_5",
    "encryptedData" : [ "vcyHSysD5nGNrc8+4EQvTGNxnkfTLJ//9oh3LEODpoxlzmFaMjhvw/jhMFrFlwMk\r\nZdzgcpeuNzuHUGgItSXKtZ9lQybz4TNdrU0sZqWgY12ycsZ9SoTKEu23LNJ4a3oe\r\n5iYrTrGBChh8Oi8sCJDU5plUmbaQHSHRolL9ShbaKdtUZjqFh0rr6REi2wrX6/7m\r\nF9k/qPw5C4Ce2EjJ9Lfc80PXPboqU/oP2/s12RVsl7nWeOhxXLgbZ3TkSYeoIxn0\r\nUDDXRI6p7DShSiPR7JVHEM0MnV5N85NHT9F62iHTuZ2zyY82Pvxj+EL6gcKodemU\r\nzKlWV2nlIXO8AoVYCfqdxg==", "YllcU0XGksPpKfYr6KU8sANtQuFzwF/qdCY2CjJXiSgoCvF81lKK1EtaUajlOGUl\r\nH+wSB1DPxlXNzrULKLiaDhgUepB1+se+oJBtxhgvjinCjW9O5iEU+QLV/rAIq5DP\r\nmoYCDKER3KaDj7zaVTONqflhi/UR+swvxfqPtrDQ7SzZFjmgyaDD5f+GQeQeLAA0\r\n7ZFAu+1LWDgyf3wJpFE2KqOSUv5SgjmU6TbH9jkiQmIIuD8YBg3yLJ34kz+g95P0\r\neEhH5g5cOyteWsg7dq7stT9y5Epi/1i95X6rpny5Dui7aMbwB1j51oLjqAp+Ivjl\r\njx3yVbyUoyeM1zLGCwqUcQ==", "izF+J3xQyVHg+dgIMaMyqKOrfoxIaWaTQbc95Zs721b+9AynCO7vL49EV7kI1IAU\r\n42dh7j12uayUSGHaoDs8tjfIsoFmTodyS+eI9Yfy1MPNWn5cM7c2rWNMAt/pbJXq\r\n9DRvqOh4cQALd2nZEZ2Yg534QBO90iPZeNYwvqcOho+SaXiJRnXZjZVmD6kXUPbK\r\nzLoLRQKzkjHj5gIeh8/5vE4/yzkzV9CqybIU0QWCEL/uZDkgJTQtUUIgAzl40ZTS\r\n1J3/aOFE6vDozetMXukrgCzEXBuNB1YeoyfhlD+4jM7ThyigWDQrb0rMja9HJWLm\r\nFEKctTIq4jS0wx6rkIf6ow==" ]
  }
}

Response

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : [ ]
  },
  "payload" : {
    "type" : "decryptResponse",
    "plainData" : [ "SGVsbG8gYmx1ZSBTa3kh", "SGVsbG8gbmlnaHQgU2t5IQ==", "SGVsbG8gdHJ1c3RlZCBTa3kh" ]
  }
}

encryptCMSRequest

Hi I am CMS Encrypt

Request

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : "java-api-instance"
  },
  "payload" : {
    "type" : "encryptCMSRequest",
    "encryptionKeys" : [ {
      "representation" : "keyIdentifier",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "geFzL1lLxl2neEAUM/zR7uSYmrM="
    }, {
      "representation" : "keyIdentifier",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "qNtJnzDmxkxe2WJkxsWkqudrZ7M="
    }, {
      "representation" : "externalCertificate",
      "encodedCertificate" : "MIIEoDCCBAmgAwIBAgIHAoma5vyQ4jANBgkqhkiG9w0BAQUFADBAMSIwIAYDVQQDExlJQUlLIFRlc3QgSW50ZXJtZWRpYXRlIENBMQ0wCwYDVQQKEwRJQUlLMQswCQYDVQQGEwJBVDAeFw0xMzEwMDMxMDAxMThaFw0yMzEwMDMxMDAxMThaMIHSMQswCQYDVQQGEwJBVDENMAsGA1UEBxMER3JhejEmMCQGA1UEChMdR3JheiBVbml2ZXJzaXR5IG9mIFRlY2hub2xvZ3kxSDBGBgNVBAsTP0luc3RpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczETMBEGA1UEBBMKUmVpdGVyIEVuYzEQMA4GA1UEKhMHQW5kcmVhczEbMBkGA1UEAxMSQW5kcmVhcyBSZWl0ZXIgRW5jMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyLHXdCy/n9WjofFDG9X11vyBQESaDyNsY+XiRwxFMslJRYlG12yCN5ESle64HsfTMugOKxut1zlDVKefi5HqkZxf0pTeUd9lEZkLvXx5oUX95jsIZVHepumuw+aI1Fu4+O9kK/lTBHtSmR8vgPKXvnvdkgvFhKzlEUfpCth90JMN8pFzkzQaQWwQokZk3j325QYK0FYWua/HTZdDnzcboew4NPn0TJkSYbJQZb4QxIIBb72ZbyHK3v5TSmcG+QSbe/ZC5w++VPR60eMFfIB0IQUv/mwTN5t5y/o5uJMy42pd4sscBW6tC5Mw/NLxk59AFN7MX9mXy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j4fqRkwsTH9O+2vAGTd1XxfMqufJFbARRd4iQFWJvNiy55bBBqa2up6FRVh3IVym0eyIGOU9xglTMYxHPc8Nu+6XSjgqDxslMbSOK6O7qg06oarlCrOyQolxUDBgwk87PqH7MxULuT0SMuZE4GpgZ3Wfq8sl7Fq+vxqxgMW0nk2UVVN0+xtllL8vbI/EFsuoRYLbs8+9I4xQPayD3Ax8QF/4Gtm6sr+Dd2KbJQ6FtxZ9QjxpoGvCXgBN0nCPGXpUgaKQQxiV1WCoouciOw1sNDru7+FcLrIUgFshdry08N6KSdCfwRIcZIjPeV5iZHPsNx/MZGth4AcmgBmNpWMioOmim2Zg4NNHJMlNw9qoHx+haEBrWSxncX4jkCoiQuXC28T9+iIrZO2hjqpkPC2DHZXDk4rgSy5J8KLt0oshwx1t1zlyUJHgrSTBSaoqeGTGNjndI7m9kw4ccYpTRjlK1s99Il9F+I4IoJRwshEIw="
    } ],
    "algorithm" : "CMS-AES-192-CBC",
    "plainData" : [ "SGVsbG8gYmx1ZSBTa3kh", "SGVsbG8gbmlnaHQgU2t5IQ==", "SGVsbG8gdHJ1c3RlZCBTa3kh" ]
  }
}

Response

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : [ ]
  },
  "payload" : {
    "type" : "encryptCMSResponse",
    "encryptedCMSData" : [ "MIAGCSqGSIb3DQEHA6CAMIACAQAxggfIMIIBYwIBADBLMEAxIjAgBgNVBAMTGUlBSUsgVGVzdCBJbnRlcm1lZGlhdGUgQ0ExDTALBgNVBAoTBElBSUsxCzAJBgNVBAYTAkFUAgcCiZrm/JDiMA0GCSqGSIb3DQEBAQUABIIBAISYkspqz4ThTWjQBkWRVTLFVsT08ZzVUEUCqu3DO4KH/6d0qqf7bz3RAnpbUJL+DiOVxA52+DCCM4oIdXGkYrffFRuo8mNQkLOsoIPrxaM83Bw1uGsCd9CUN1qgUORFhWgPY5OzivnnhUkQHQA5WIqUgpAq0jCR5DnMeeJg9xfP+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raihQEiI+1UICxKD9G6VhNN6urKKLrfVw7kYg0B59nMNBhr38zXmdZG4jTrsV9TqOME4m7fReV7MRNy4fDf0ERntSRuwXcgYN9tBTPPqiklTl4PxLcDjeHw6gOgeX3XRqLtpSVxeNJq7nQlmk98KIVHSiK2lO0mgEDXe5JMgjMbQLJkXshM44iqssVg/XhKkfJ+P8/JQMmk6AQoJe5z442C1erBs6I3dl8PbtcA4esOTrIhSyxMr6Ut38dPKcXoBPh3+NErjzHRk/7tEqc7ZQHFWeLFtkkG5pwoe4ph8eyKf/ykPsDtRoetKfixhpFGSDxNtBMGi8LJWAEUrXAwoHyE+dGtVgphr4qpVaJhbeDeZeomG/zaXgfpQnAzREDP/C6J5SkA71ECHtDfZY2uqeNlWF1wAzTs3NQRX0xfdMIAGCSqGSIb3DQEHATAdBglghkgBZQMEARYEEIC4JiQscVv6sb4zlFpRpBWggAQg0d3nDEgT1FOY9bsLou6D27UhxEZXqo5i8NSf0ZeadLYAAAAAAAAAAAAA" ]
  }
}

decryptCMSRequest

Hi I am CMS Decrypt

Request

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : "java-api-instance"
  },
  "payload" : {
    "type" : "decryptCMSRequest",
    "decryptionKey" : {
      "representation" : "keyIdentifier",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "geFzL1lLxl2neEAUM/zR7uSYmrM="
    },
    "encryptedCMSData" : "MIAGCSqGSIb3DQEHA6CAMIACAQAxggfIMIIBYwIBADBLMEAxIjAgBgNVBAMTGUlB\r\nSUsgVGVzdCBJbnRlcm1lZGlhdGUgQ0ExDTALBgNVBAoTBElBSUsxCzAJBgNVBAYT\r\nAkFUAgcCiZrm/JDiMA0GCSqGSIb3DQEBAQUABIIBAISYkspqz4ThTWjQBkWRVTLF\r\nVsT08ZzVUEUCqu3DO4KH/6d0qqf7bz3RAnpbUJL+DiOVxA52+DCCM4oIdXGkYrff\r\nFRuo8mNQkLOsoIPrxaM83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2qYfagkTSqAYxsSiCeFrHKA+J0p6\r\nfttT18O0rB4u0zVxNXvyjfUvpVQRrPW0kLBzijyiq5Ccd1STK9FLOCOroBY4+01u\r\nrSgjSJ+o/aVDtm/u2VXFazGd3E4ba6LTLwEjQtZW477iuvcvniDP0kP6Lhx0xDy/\r\nHkEbqjZp2eZ9zx2RjS/9D+UfSDSpbmQffSdQEZl8Lma9IK3dyUFye2vtQAWl+Lc/\r\nFvLz1e8j15Q8t2JXYKBtYquonJM+Md++yclDjZkXUjhtrRfw1hOkiElL7fqUoIt+\r\nXMviGSg6Q0W/tSd4CUCsqG3Tj27zXgFT1EhVIeX+JLaqQ4iS7u06eO9Tkz7U7rD9\r\nwk04p5WLPF3RSY+cZbNPcfAb2RZVvqSOuTqQTjBsWlD6evJm2DopAfeA7WytLBX1\r\nMIAGCSqGSIb3DQEHATAdBglghkgBZQMEARYEEJUs/JlMKpgyDZwQCsUFBUCggAQQ\r\n3TWDtoVyiNJfiGNdHcfHUgAAAAAAAAAAAAA="
  }
}

Response

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : [ ]
  },
  "payload" : {
    "type" : "decryptCMSResponse",
    "plainData" : "SGVsbG8gYmx1ZSBTa3kh"
  }
}

signRequest

Hi I am sign

Request

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "path" : "java-api-instance"
  },
  "payload" : {
    "type" : "signRequest",
    "signatureKey" : {
      "representation" : "keyIdentifier",
      "id" : "keyslotname-to-be-fetched-from-config",
      "subId" : "geFzL1lLxl2neEAUM/zR7uSYmrM="
    },
    "algorithm" : "RSASSA-PKCS1-v1_5-SHA-256",
    "hashesToBeSigned" : [ "SGVsbG8gYmx1ZSBTa3kh", "SGVsbG8gbmlnaHQgU2t5IQ==", "SGVsbG8gdHJ1c3RlZCBTa3kh" ]
  }
}

Response

{
  "header" : {
    "protocolVersion" : "0.1",
    "commandId" : "",
    "sessionId" : "",
    "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