Skip to Content
0
Former Member
Nov 07, 2005 at 10:15 PM

Obtain Public Key

165 Views

We are developing an application to communicate BSP with other system. For secure communication we must implement the "Public-key technology" with Digital Signed.

From a BSP Application a String (XML) is send to another system. The string must be encrypted(signed) by private key. When the string is received by the other system, it must be decrypted (verified) with a public key (dispatched previously).

We have used a SSF_KRN_SIGN_BY_AS function, and it covers almost all the requirements, but we need to send a pubic key to the receiver in text format:

-

-


BEGIN PUBLIC KEY-----

MIIBgjCCAUICAQAwCQYHKoZIzjgEAzAOMQwwCgYDVQQDEwNXQVMwHhc

NOTcxMDAx....

....

...

-

-


END PUBLIC KEY-----

The SSF_KRN_SIGN_BY_AS uses .pse files and from this type of file the public key cannot be obtained in text format (transaction STRUST).

Is it possible to obtain the public key from a WAS ABAP system in text format?

Version WAS ABAP

Component Versión Netweaver 04

Component Release Level SP

SAP_BASIS 640 0010 SAPKB64010

SAP_ABA 640 0010 SAPKA64010

Best Regards,