Discuss this help topic in SecureBlackbox Forum

TElASiCCAdESSignature.AddSignatureEntry

TElASiCCAdESSignature     See also     


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


Adds a new signature entry to the list.

Declaration

[C#/Java]
    int AddSignatureEntry(TElX509Certificate Certificate, TElCustomCertStorage Chain);
    int AddSignatureEntry(TElX509Certificate Certificate, TSBCMSRemoteSignCallback SignCallback, Object Param, TElCustomCertStorage Chain);

[VB.NET]
    Function AddSignatureEntry(ByVal Certificate As TElX509Certificate, ByVal Chain As TElCustomCertStorage) As Integer
    Function AddSignatureEntry(ByVal Certificate As TElX509Certificate, ByVal SignCallback As TSBCMSRemoteSignCallback, ByVal Param As Object, ByVal Chain As TElCustomCertStorage) As Integer

[Pascal]
    function AddSignatureEntry(Certificate : TElX509Certificate; Chain : TElCustomCertStorage = nil) : integer;
    function AddSignatureEntry(Certificate : TElX509Certificate; SignCallback : TSBCMSRemoteSignCallback; Param : pointer; Chain : TElCustomCertStorage = nil) : integer;

[C++]
    not available

[PHP]
    integer AddSignatureEntry(TElX509Certificate $Certificate, TElCustomCertStorage $Chain)
    integer AddSignatureEntry(TElX509Certificate $Certificate, TSBCMSRemoteSignCallback|callable|NULL $SignCallback, TSBPointer|array of byte|string|NULL $Param, TElCustomCertStorage $Chain)

Parameters

  • Certificate - specifies the signing certificate.
  • Chain - specifies the certificate storage containing the signing certificate chain.
  • SignCallback - if remote signing is used, this parameter specifies the callback function that delegates signature computation.
  • Param - the reference to the object which contains additional information about the archive entry.

Return value

Returns the index of the newly added signature entry.

Description

Use this method to add a new signature entry to the list.

See also:     SignatureEntries     SignatureEntryCount    

Discuss this help topic in SecureBlackbox Forum