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