case PREFERRED_COMP_ALGS:
case PREFERRED_HASH_ALGS:
case PREFERRED_SYM_ALGS:
return new PreferredAlgorithms(type, isCritical, data);
case KEY_FLAGS:
return new KeyFlags(isCritical, data);
case PRIMARY_USER_ID:
return new PrimaryUserID(isCritical, data);
case SIGNER_USER_ID:
return new SignerUserID(isCritical, data);
}