public void setKeyEncryptionTypes(Set<EncryptionType> keyEncryptionTypes) {
    this.keyEncryptionTypes = Collections.unmodifiableSet(new HashSet<>(
        (keyEncryptionTypes == null)
            ? DEFAULT_CIPHERS
            : keyEncryptionTypes
    ));
  }
Sets the encryption algorithms to use to encrypt keys in keytab entries
<p/>
If set to <code>null</code> the default set of ciphers will be used.  See {@link #DEFAULT_CIPHERS}

@param keyEncryptionTypes a Set of EncryptionKey values or null to indicate the default set
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/KerberosOperationHandler.java