Difference between revisions of "Key REST API"

From Dogtag
Jump to: navigation, search
(Created page with "= Retrieving a Key = Request: <pre> { "Attributes": { "Attribute": [ { "name": "requestId", "value": null...")
(No difference)

Revision as of 15:54, 11 October 2019

Retrieving a Key

Request:

{
    "Attributes": {
        "Attribute": [
            {
                "name": "requestId",
                "value": null
            },
            {
                "name": "transWrappedSessionKey",
                "value": <base64-encoded data>
            },
            {
                "name": "sessionWrappedPassphrase",
                "value": null
            },
            {
                "name": "nonceData",
                "value": null
            },
            {
                "name": "certificate",
                "value": null
            },
            {
                "name": "passphrase",
                "value": null
            },
            {
                "name": "keyId",
                "value": "22"
            },
            {
                "name": "payloadWrappingName",
                "value": "DES3/CBC/Pad"
            },
            {
                "name": "payloadEncryptionOID",
                "value": "{1 2 840 113549 3 7}"
            }
        ]
    },
    "ClassName": "com.netscape.certsrv.key.KeyRecoveryRequest"
}

Response:

{
    "wrappedPrivateData": <base64-encoded data>,
    "nonceData": <base64-encoded data>,
    "p12Data": null,
    "algorithm": null,
    "size": null,
    "additionalWrappedPrivateData": null,
    "requestID": null,
    "encryptAlgorithmOID": "DESede/CBC/PKCS5Padding/168",
    "wrapAlgorithm": null,
    "type": "passPhrase",
    "publicKey": null
}

See Also

  • [{Key Management]]