Class SQLServerVSMEnclaveProvider

java.lang.Object
com.microsoft.sqlserver.jdbc.SQLServerVSMEnclaveProvider
All Implemented Interfaces:
ISQLServerEnclaveProvider

public class SQLServerVSMEnclaveProvider
extends java.lang.Object
implements ISQLServerEnclaveProvider
Provides the implementation of the VSM Enclave Provider. The enclave provider encapsulates the client-side implementation details of the enclave attestation protocol.
  • Constructor Summary

    Constructors 
    Constructor Description
    SQLServerVSMEnclaveProvider()  
  • Method Summary

    Modifier and Type Method Description
    java.util.ArrayList<byte[]> createEnclaveSession​(SQLServerConnection connection, java.lang.String userSql, java.lang.String preparedTypeDefinitions, com.microsoft.sqlserver.jdbc.Parameter[] params, java.util.ArrayList<java.lang.String> parameterNames)
    Creates the enclave session
    void getAttestationParameters​(boolean createNewParameters, java.lang.String url)
    Returns the attestation parameters
    byte[] getEnclavePackage​(java.lang.String userSQL, java.util.ArrayList<byte[]> enclaveCEKs)  
    com.microsoft.sqlserver.jdbc.EnclaveSession getEnclaveSession()
    Returns the enclave session
    void invalidateEnclaveSession()
    Invalidates an enclave session

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait