EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElPKCS11CertStorage.AddObject

TElPKCS11CertStorage     See also    


 

Adds objects to the storage.

 
 

Declaration

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

[VB.NET]
    Function AddObject(ByVal SessionIndex As Integer, 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 Private As Boolean, ByVal Modifiable As Boolean, ByVal Attributes As TElPKCS11AttributeList) As Integer

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

[VB6]
    not implemented;

[ActiveX]
    not implemented;

[DLL]
    not implemented;
 
 

Parameters

  • SessionIndex - index of the session in the list
  • ObjectType - Specifies type of the object
  • Token - Specifies, if the object is a token object
  • Private - Specifies, if the object is private
  • Modifiable - Specifies, if the object is modifiable
  • Attributes - 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 storage.

 
 

See also:     Objects     RemoveObject     ClearObjects    

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