I am not aware of a function to get only specific term objects for a post type but it is not hard to filter out the ones you want. For example:
$taxonomies = get_object_taxonomies( 'post', 'objects' );
$taxonomies = array_intersect_key($taxonomies,array_flip(array('category','post_tag')));
var_dump($taxonomies);
But since you know the taxonomies you want, you could also just use get_taxonomy( $taxonomy )
multiple times.
$tax_objects = array();
$taxlist = array(
'category',
'post_tag'
);
foreach ($taxlist as $tax) {
$tax_objects[$tax] = get_taxonomy($tax);
}
var_dump($tax_objects);
Or you may be making this more complicated than it needs to be. You can just simply use the taxonomies you need:
$taxonomies = get_object_taxonomies( 'post', 'objects' );
if (!empty($taxonomies['category'])) {
var_dump($taxonomies['category']);
}
Obviously, all code above uses Core taxonomies (so I can test things) but you can easily swap those out for your own specialized taxonomies.