jdk-24/jdk/test/javax/crypto/SecretKeyFactory
Martin Buchholz 24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
..
2007-12-01 00:00:00 +00:00
2007-12-01 00:00:00 +00:00
2007-12-01 00:00:00 +00:00

To recreate P1.jar/P2.jar, although I doubt this will ever be necessary, do
the following.

mkdir classes
javac -d classes \
    P1SecretKeyFactory.java Provider1.java \
    P2SecretKeyFactory.java Provider2.java

cd classes
jar -cvf ../P1.jar com/p1
jar -cvf ../P2.jar com/p2
cd ..
rm -rf classes

jarsigner -keystore YourJCESigningKeyKeyStore.ks P1.jar yourKeySigningAlias
jarsigner -keystore YourJCESigningKeyKeyStore.ks P2.jar yourKeySigningAlias