public KeyToolGenerateKeyPairRequest createKeyGenRequest ( File keystoreFile ) { KeyToolGenerateKeyPairRequest request = new KeyToolGenerateKeyPairRequest ( ) ; request . setAlias ( getAlias ( ) ) ; request . setDname ( getDname ( ) ) ; request . setKeyalg ( getKeyalg ( ) ) ; request . setKeypass ( getKeypass ( ) ) ; request . setKeysize ( getKeysize ( ) ) ; request . setKeystore ( getKeystore ( ) ) ; request . setSigalg ( getSigalg ( ) ) ; request . setStorepass ( getStorepass ( ) ) ; request . setStoretype ( getStoretype ( ) ) ; request . setValidity ( getValidity ( ) ) ; request . setVerbose ( isVerbose ( ) ) ; request . setWorkingDirectory ( workDirectory ) ; return request ; }
Creates a keytool request to do a key store generation operation .