AS Java provides a keystore for managing keys and certificates.
More information: Using the AS Java Key Storage
Interface Overview
Characteristic | Value |
---|---|
Name |
AF KeyStore Management |
Purpose |
Access to the AS Java Keystore |
Type |
Java library in the facade
com.sap.aii.af.lib.facade |
Technical name |
com.sap.aii.security.lib |
Certification |
Optional |
Syntax |
JavaDoc package com.sap.aii.af.service.resource |
This library contains tc_sec_ssf.jar, which implements the API.
application-j2ee-engine.xmlconnector-j2ee-engine.xml
The SAPSecurityResources API is part of the Adapter Framework services; therefore, a reference to com.sap.aii.af.svc.facade is sufficient.
SAPSecurityResources gives you access to the KeyStoreManager classes of the library com.sap.aii.security.lib (display name:SAP XI Security Lib), which is part of com.sap.aii.af.svc.facade.
com.sap.aii.security.lib calls ISsfProfile or ISsfPab of the security.class API.
The example adapter and example module show you how to access a private key, for example, for encryption purposes.
In SPIManagedConnection.java, search for the character string CS_ASECGETCERT. In ConvertCRLFfromToLF.java, search for CS_MSECGETCERT.