Private and public key storage in MySQL-DB

Someone probably asked about this, but I did not find any useful information, and I had never done this before.

So here is the problem.

If I get a set of key pairs (public and private DSA keys) with different expiration dates and a unique identifier, what's the best way to store them in MySQL-DB using Java?

Is it good to store them in the database?

Thanks in advance.

Moore

Ps. another problem, I can’t imagine what both keys look like? just byte arrays?

+3
source share
1 answer

It is best to use drops when storing them.

, , . , , , .

0

Source: https://habr.com/ru/post/1757676/


All Articles