Hi,

For the WS-Trust implementation, I need to encrypt a SAML token form an
existing public key (In STS side) and decrypt it using private key at the
receiver (Relying party).
I do have couple of problems regarding this issue.

    - I tried to use the 'oxs_xml_enc_encrypt_data' method but I couldn't
clarify the way that I have to load the key from .pem file and then encrypt
the message from that loaded key.
    - And also, Is .pem file store a private or public key. (because I found
.cert files under rampart samples)

Is there a preferred way to do this.
Thanks.

Kasun.

Reply via email to