class CredentialProtectionExtensionAuthenticatorOutput implements RegistrationExtensionAuthenticatorOutput {

    @Override
    public Serializable getValue(String key) {
        if(!key.equals(KEY_CRED_PROTECT)){
            throw new IllegalArgumentException(String.format("%s is the only valid key.", getIdentifier()));
        }
        return credProtect;
    }

    public  CredentialProtectionExtensionAuthenticatorOutput(CredentialProtectionPolicy credProtect);

}