EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElPKCS11SessionInfo.GetObjectBySubjectOrID

TElPKCS11SessionInfo     See also    


 

Retrieves the object by its subject or ID.

 
 

Declaration

[C#]
    TElPKCS11Object GetObjectBySubjectOrID(TSBPKCS11ObjectType ObjectType, byte[] Subject, byte[] ID);

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

[Pascal]
    function GetObjectBySubjectOrID(ObjectType : TSBPKCS11ObjectType; const Subject, ID : BufferType) : TElPKCS11Object;

[VB6]
    Function IElPKCS11SessionInfoX7.GetObjectBySubjectOrID(ObjectType As TSBPKCS11ObjectType, Subject As Variant, ID As Variant) As IUnknown

[ActiveX]
    HRESULT _stdcall IElPKCS11SessionInfoX7.GetObjectBySubjectOrID([in] TSBPKCS11ObjectType ObjectType, [in] VARIANT Subject, [in] VARIANT ID, [out, retval] IUnknown ** Value);

[DLL]
    not implemented;
 
 

Parameters

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

Possible object types:

[.NET] [Pascal] [ActiveX] Value Description
otUnknown 0 (0x00) Unknown
otData 1 (0x01) Data
otCertificate 2 (0x02) Certificate
otX509Certificate 3 (0x03) X.509 certificate
otWTLSCertificate 4 (0x04) WTLS certificate
otX509AttributeCertificate 5 (0x05) X.509 attribute certificate
otPublicKey 6 (0x06) Public key
otPrivateKey 7 (0x07) Private key
otSecretKey 8 (0x08) Secret key
otHardwareFeature 9 (0x09) Hardware feature
otDomainParameters 10 (0x0A) Domain parameters
otMechanism 11 (0x0B) Mechanism
otVendorDefined 12 (0x0C) Vendor-defined
Declared in
[.NET] [Pascal] [ActiveX]
Namespace: SBPKCS11Base
Assembly: SecureBlackbox.PKI
Unit: SBPKCS11Base Module: BaseBBox7.dll

 
 

Return value

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

 
 

Description

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

 
 

See also:     Objects     GetObject     GetObjectByHandle    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation