Mon, 07 Aug 2006 15:22:55 +0200

Fisha <ahsif@freemail.hu>

security


Sziasztok!

Ujabb security-s problemam merult fol.

Ez a kod siman lefut:
KeyFactory keyFactory = KeyFactory.getInstance("DSA");

Ez nem:
KeyFactory keyFactory = KeyFactory.getInstance("RSA");

Ezt dobja:
java.security.NoSuchAlgorithmException: RSA KeyFactory not available

Holott a speci ezt mondja.

Key and Parameter Algorithms
    The algorithm names in this section can be specified when generating an instance of KeyPairGenerator, KeyFactory, AlgorithmParameterGenerator, and AlgorithmParameters.
    RSA: The RSA encryption algorithm as defined in PKCS#1.
    DSA: The Digital Signature Algorithm as defined in FIPS PUB 186.

1.3-as javat hasznalok.

Mi a megoldas?

Elore is koszi a segitseget,
Fisha