Reading a public key in java trusted store(API proxy)

Not applicable

Hi

I am trying to write a javacallout for Signature validation ,

1) I required to read public key of client from store .

2)place public key in JAR and read it from there .

Error in code saying access denied java.io.filepermission read



Can anyone help

Solved Solved
0 2 198
1 ACCEPTED SOLUTION

A typical approach is to string the Public Key in an Encrypted KVM. Have you considered this?

View solution in original post

2 REPLIES 2

A typical approach is to string the Public Key in an Encrypted KVM. Have you considered this?

Hi I am new to Apigee could you please elobrate.

I used this as a property to call in Java Callout but no use

<Properties> <Property name="cert"> -----BEGIN CERTIFICATE-----

But when i do messageContext.getVariable("cert") some error.