The answer would depend upon the configuration done on the AP..
a) if you have configured vlans on your AP then you can set SSID , map it to each vlan and accordingly configure encryption to each vlan
b) if there are no vlan then too the two ssid would work but you then you have to have the same encryption on both the ssid.