CSC (v1)
Sign hash
Use this endpoint to sign the given hash string values using the given SAD (Signature Activation Data), credential and signature algorithm.
The following parameters are required in the request body:
hash — Hash string value to be signed. Multiple values can be passed as an array.
SAD — Signature Activation Data.
credentialID — Credential to be used for signing.
signAlgo — Signature algorithm.
post/csc/v1/signatures/signHash
Request
- Base URLhttps://one.digicert.com/documentmanager
- Auth
- API key in header X-API-Key
- or OAuth 2Client credentialsToken URL/imauth/oauth2/tokenScopesservice
- or OAuth 2Authorization code/imauth/oauth2/authorizeToken URL/imauth/oauth2/tokenScopesservice
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"hash": [
"sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI=",
" c1RPZ3dPbSs0NzRnRmowcTB4MWlTTnNwS3FiY3NlNEllaXFsRGcvSFd1ST0="
],
"hashAlgo": "2.16.840.1.101.3.4.2.1",
"signAlgo": "1.2.840.113549.1.1.1",
"credentialID": "GX0112348",
"SAD": "_TiHRG-bAH3XlFQZ3ndFhkXf9P24/CKN69L8gdSYp5_pw"
}Response
Signatures
Changes
No recorded changes to this operation across all 1 revision of this API.