EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElPKCS11SessionInfo.AddObject

TElPKCS11SessionInfo     See also    


 

Adds object to the session.

 
 

Declaration

[C#]
    int AddObject(TSBPKCS11ObjectType ObjectType, bool Token, bool Private, bool Modifiable, TElPKCS11AttributeList Attributes);
    int AddObject(TSBPKCS11ObjectType ObjectType, bool Token, TElPKCS11AttributeList Attributes);

[VB.NET]
    Function AddObject(ByVal ObjectType As TSBPKCS11ObjectType, ByVal Token As Boolean, ByVal Private As Boolean, ByVal Modifiable As Boolean, ByVal Attributes As TElPKCS11AttributeList) As Integer
    Function AddObject(ByVal ObjectType As TSBPKCS11ObjectType, ByVal Token As Boolean, ByVal Attributes As TElPKCS11AttributeList) As Integer

[Pascal]
    function AddObject(ObjectType : TSBPKCS11ObjectType; Token, Private, Modifiable : boolean; Attributes : TElPKCS11AttributeList) : integer;
    function AddObject(ObjectType : TSBPKCS11ObjectType; Token : boolean; Attributes : TElPKCS11AttributeList) : integer;

[VB6]
    Function IElPKCS11SessionInfoX7.AddObject(ObjectType As TSBPKCS11ObjectType, Token As Boolean, Priv As Boolean, Modifiable As Boolean, Attributes As IUnknown) As Long

[ActiveX]
    HRESULT _stdcall IElPKCS11SessionInfoX7.AddObject([in] TSBPKCS11ObjectType ObjectType, [in] VARIANT_BOOL Token, [in] VARIANT_BOOL Priv, [in] VARIANT_BOOL Modifiable, [in] IUnknown * Attributes, [out, retval] long * Value);

[DLL]
    not implemented;
 
 

Parameters

  • ObjectType - type of the new object
  • Token - specifies if the new object is a token object
  • Private (Priv) - specifies if the object is private
  • Modifiable - specifies if the object is modifiable
  • Attributes - contains object attributes
 
 

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

    Index of the newly added object in the list.

 
 

Description

    Use this method to add an object to the session.

 
 

See also:     Objects     AddGeneratedObject     ClearObjects     GetObject     RefreshObjectList     RemoveObject     UpdateObjectList    

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