getEncryption

Gets the default encryption method if ServerInfo's Encryption is not null.

Return

An optional containing the default encryption method, if available; otherwise, an empty optional.