CLOUD-210 validate public key

The validation part can stay in its own component, so it can be called from somewhere else, but in case of AWS it should be called from the initializer, so it won't be needed to call 2 different initializations in the converter.