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);
}
return new SignatureSubpacket(type, isCritical, data);