Discuss this help topic in SecureBlackbox Forum

TElPKCS11Module.OpenSession

TElPKCS11Module     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Opens the session.

Declaration

[C#]
    TElPKCS11SessionInfo OpenSession(int SlotIndex, bool ReadOnly, TElPKCS11Consumer Consumer);

[VB.NET]
    Function OpenSession(ByVal SlotIndex As Integer, ByVal ReadOnly As Boolean, ByVal Consumer As TElPKCS11Consumer) As TElPKCS11SessionInfo

[Pascal]
    function OpenSession(SlotIndex: integer; ReadOnly: boolean; Consumer: TElPKCS11Consumer): TElPKCS11SessionInfo;

[C++]
    TElPKCS11SessionInfoHandle OpenSession(int32_t SlotIndex, bool ReadOnly, TElPKCS11Consumer &Consumer);
    TElPKCS11SessionInfoHandle OpenSession(int32_t SlotIndex, bool ReadOnly, TElPKCS11Consumer *Consumer);

[PHP]
    TElPKCS11SessionInfo OpenSession(integer $SlotIndex, bool $ReadOnly, TElPKCS11Consumer $Consumer)

[Java]
    TElPKCS11SessionInfo openSession(int SlotIndex, boolean ReadOnly, TElPKCS11Consumer Consumer);

Parameters

  • SlotIndex - Index of the slot in the list.
  • ReadOnly - Specifies whether a newly opened session should be read-only.
  • Consumer - This parameter is used to characterize the consumer.

Return value

    Information about the newly opened session.

Description

    This is a service function, users should not use it.

See also:     CloseSession    

Discuss this help topic in SecureBlackbox Forum