class CredentialProtectionExtensionClientInput implements RegistrationExtensionClientInput {

    @Override
    public Serializable getValue(String key) {
        switch (key) {
            case KEY_CREDENTIAL_PROTECTION_POLICY:
                return credentialProtectionPolicy;
            case KEY_ENFORCE_CREDENTIAL_PROTECTION_POLICY:
                return enforceCredentialProtectionPolicy;
            default:
                throw new IllegalArgumentException(String.format("%s is not valid key.", key));
        }
    }

    public  CredentialProtectionExtensionClientInput(
            CredentialProtectionPolicy credentialProtectionPolicy, Boolean enforceCredentialProtectionPolicy);
    public  CredentialProtectionExtensionClientInput(CredentialProtectionPolicy credentialProtectionPolicy);

}