by the java code i am getting the public key from pfx with the data type of "Public key". Now i want to store it in the my ldap server. For this i have to write my own schema or already schema is there for ldap.

Guide or suggest me to save the data in LDAP.

Or any other solution is there means guide me.