use global register variable to check what ciphers supported and which class handles.