REST Signature SAP Provider
The implementation class of the REST Signature SAP Provider is:
com.czertainly.trident.sam.sap.RestSignatureSapProvider
The following properties can be configured for the REST Signature SAP Provider:
Property | Description | Default Value | Mandatory |
---|---|---|---|
SAP_PROVIDER_URL | URL to get the Signature Activation Data. The URL should implement REST interface of this provider. | NONE | YES |
SAP_PROVIDER_AUTH_TYPE | Authorization type for the REST API. Supported values are:
| NONE | YES |
Authorization types
BASIC
SAP_PROVIDER_AUTH_TYPE = BASIC
needs additional properties to be configured, in particular:
Property | Description | Default Value | Mandatory |
---|---|---|---|
SAP_PROVIDER_USERNAME | Identification of the user. | NONE | Mandatory for SAP_PROVIDER_AUTH_TYPE = BASIC |
SAP_PROVIDER_PASSWORD | Password for the username. | NONE | Mandatory for SAP_PROVIDER_AUTH_TYPE = BASIC |
OpenAPI Definition
openapi: 3.0.3
info:
title: REST Signature SAP Provider
version: v1
paths:
/buildSad:
post:
operationId: buildSad
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BuildSadRequestDTO'
required: true
responses:
"200":
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/BuildSadResponseDTO'
components:
schemas:
BuildSadRequestDTO:
type: object
properties:
uid:
type: string
keyId:
type: string
data:
type: array
items:
type: string
format: byte
hashAlg:
type: string
enum:
- RAWDATA
- MD5
- SHA1
- RIPEMD160
- SHA224
- SHA256
- SHA384
- SHA512
- WHIRLPOOL
awkr:
type: string
enum:
- PKCS1_15
- PKCS1_OAEP
- PKCS1_PSS
- SSLV23
- ECDSA
- SPHINCS
- SCHNORR
BuildResponseDTO:
type: object
properties:
body:
type: array
items:
type: string
format: byte
nonce:
type: array
items:
type: string
format: byte
BuildSadResponseDTO:
type: object
properties:
sad:
$ref: '#/components/schemas/BuildResponseDTO'