| 
      
    | 
   
◆ _oe_enclave_type
This enumeration defines values for the type parameter passed to oe_create_enclave().  
| Enumerator | 
|---|
 | OE_ENCLAVE_TYPE_AUTO  | OE_ENCLAVE_TYPE_AUTO will pick the type based on the target platform that is being built, such that x64 binaries will use SGX.  
 |  
| OE_ENCLAVE_TYPE_SGX  | OE_ENCLAVE_TYPE_SGX will force the platform to use SGX, but any platform other than x64 will not support this and will generate errors.  
 |  
| OE_ENCLAVE_TYPE_OPTEE  | OE_ENCLAVE_TYPE_OPTEE will force the platform to use OP-TEE, but any platform other than one that implements ARM TrustZone with OP-TEE as its secure kernel will not support this and will generate errors.  
 |  
| __OE_ENCLAVE_TYPE_MAX  | Unused.  
 |  
 
 
 
     |