SecretKeySpec function ( final byte [ ] arg0 , final SupportedCipherDetails arg1 ) { Validate . notNull ( arg0 , "srini_string" ) ; Validate . notNull ( arg1 , "srini_string" ) ; return new SecretKeySpec ( arg0 , arg1 . getKeyGenerationAlgorithm ( ) ) ; }
loads symmetric secret key with the specified cipher into a secretkeyspec object from a stream . note : this method does n'tclose the supplied stream and will read the entire contents of the stream supplied . concode_field_sep PlaceHolder placeHolder concode_field_sep void writeKey concode_elem_sep void writeKeyToPath concode_elem_sep SecretKeySpec loadKeyFromPath concode_elem_sep SecretKeySpec loadKeyFromPath concode_elem_sep SecretKey generate concode_elem_sep SecretKey generate