Discuss this help topic in SecureBlackbox Forum

TElPKCS11SessionInfo.GetObjectBySubjectOrID

TElPKCS11SessionInfo     See also     


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


Retrieves the object by its subject or ID.

Declaration

[C#/Java]
    TElPKCS11ManagerObject GetObjectBySubjectOrID(TSBPKCS11ObjectType ObjectType, byte[] Subject, byte[] ID);

[VB.NET]
    Function GetObjectBySubjectOrID(ByVal ObjectType As TSBPKCS11ObjectType, ByVal Subject As Byte(), ByVal ID As Byte()) As TElPKCS11ManagerObject

[Pascal]
    function GetObjectBySubjectOrID(ObjectType : TSBPKCS11ObjectType; const Subject, ID : ByteArray) : TElPKCS11ManagerObject;

[C++]
    TElPKCS11ObjectHandle GetObjectBySubjectOrID(TSBPKCS11ObjectType ObjectType, const std::vector<uint8_t> &Subject, const std::vector<uint8_t> &ID);
    TElPKCS11ObjectHandle GetObjectBySubjectOrID(TSBPKCS11ObjectType ObjectType, const std::vector<uint8_t> &Subject, const std::vector<uint8_t> &ID, bool SubjectMustMatch, bool IDMustMatch);

[PHP]
    TElPKCS11Object GetObjectBySubjectOrID(integer $ObjectType, array of byte|string|NULL $Subject, array of byte|string|NULL $ID)
    TElPKCS11Object GetObjectBySubjectOrID(integer $ObjectType, array of byte|string|NULL $Subject, array of byte|string|NULL $ID, bool $SubjectMustMatch, bool $IDMustMatch)

Parameters

  • ObjectType - type of the object
  • Subject - object's subject
  • ID - object's ID
  • SubjectMustMatch - ...
  • IDMustMatch - ...

Possible object types:

Return value

    Returns an instance of TElPKCS11ManagerObject class, containing the desired object.

Description

    Use this method to find and retrieve the object by ID or subject.

See also:     Objects     GetObject     GetObjectByHandle    

Discuss this help topic in SecureBlackbox Forum