wtorek, 2 marca 2010

nCipher nShield F3 i Java

Utworzenie keystora chronionego kartą OCS:
$JAVA_HOME/bin/keytool -genkey -keystore ncqa -storepass 123456 -alias ncqaalias -keypass 123456 -keyalg RSA -keysize 1024 -sigalg SHA1withRSA -storetype nCipher.sworld
Keystor chroniony przez moduł:
java -Dprotect=module -DignorePassphrase=true -cp "$CLASSPATH;." sun.security.tools.KeyTool -genkey -keystore ncqa -storepass 123456 -alias ncqaalias -keypass 123456 -keyalg RSA -keysize 1024 -sigalg SHA1withRSA -storetype nCipher.sworld
Lista kluczy w keystore:
$JAVA_HOME/bin/keytool -list -v -keystore ncqa  -storepass 123456 -storetype nCipher.sworld

Brak komentarzy: