Skip to main content

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:

PropertyDescriptionDefault ValueMandatory
SAP_PROVIDER_URLURL to get the Signature Activation Data. The URL should implement REST interface of this provider.NONEYES
SAP_PROVIDER_AUTH_TYPEAuthorization type for the REST API. Supported values are:
  • NONE
  • BASIC
See information about the authentication properties below.
NONEYES

Authorization types

BASIC

SAP_PROVIDER_AUTH_TYPE = BASIC needs additional properties to be configured, in particular:

PropertyDescriptionDefault ValueMandatory
SAP_PROVIDER_USERNAMEIdentification of the user.NONEMandatory for SAP_PROVIDER_AUTH_TYPE = BASIC
SAP_PROVIDER_PASSWORDPassword for the username.NONEMandatory 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'