EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElPGPCustomSecretKey.Sign

TElPGPCustomSecretKey     See also    


 

Creates a signature.

 
 

Declaration

[C#]
    (1) void Sign(TElPGPSignature SubjectSignature, TElPGPSignature Signature);
    (2) void Sign(DateTime TimeStamp, TElPGPSignature Signature);
    (3) void Sign(TElPGPCustomPublicKey Key, TElPGPSignature Signature, TElPGPSignature EmbeddedSignature /* = null */);
    (4) void Sign(TElPGPPublicKey PublicKey, TElPGPCustomUser User, TElPGPSignature Signature, int CertType /* = 0 */);

[VB.NET]
    (1) Sub Sign(ByVal SubjectSignature As TElPGPSignature, ByVal Signature As TElPGPSignature)
    (2) Sub Sign(ByVal TimeStamp As DateTime, ByVal Signature As TElPGPSignature)
    (3) Sub Sign(ByVal Key As TElPGPCustomPublicKey, ByVal Signature As TElPGPSignature, ByVal EmbeddedSignature As TElPGPSignature = Nothing)
    (4) Sub Sign(ByVal PublicKey As TElPGPPublicKey, ByVal User As TElPGPCustomUser, ByVal Signature As TElPGPSignature, ByVal CertType As Integer = 0)

[Pascal]
    (1) procedure Sign(SubjectSignature : TElPGPSignature; Signature : TElPGPSignature);
    (2) procedure Sign(TimeStamp : TDateTime; Signature : TElPGPSignature);
    (3) procedure Sign(Key : TElPGPCustomPublicKey; Signature : TElPGPSignature; EmbeddedSignature : TElPGPSignature = nil);
    (4) procedure Sign(PublicKey : TElPGPPublicKey; User: TElPGPCustomUser; Signature: TElPGPSignature; CertType : TSBPGPUserCertificationType = ctGeneric);

[VB6]
    (1) Sub SignSignature(SubjectSignature As IElPGPSignatureX, Signature As IElPGPSignatureX)
    (2) Sub SignTimestamp(TimeStamp As DATE, Signature As IElPGPSignatureX)
    (3) Sub SignSubkey(Key As IElPGPCustomPublicKeyX, Signature As IElPGPSignatureX, EmbeddedSignature As IElPGPSignatureX)
    (4) Sub SignUserID(PublicKey As IElPGPPublicKeyX, User As IElPGPCustomUserX, Signature As IElPGPSignatureX, CertType As TxSBPGPUserCertificationType)

[ActiveX]
    (1) HRESULT _stdcall SignSignature([in] IElPGPSignatureX * SubjectSignature, [in] IElPGPSignatureX * Signature );
    (2) HRESULT _stdcall SignTimestamp([in] DATE TimeStamp, [in] IElPGPSignatureX * Signature );
    (3) HRESULT _stdcall SignSubkey([in] IElPGPCustomPublicKeyX * Key, [in] IElPGPSignatureX * Signature, [in] IElPGPSignatureX * EmbeddedSignature );
    (4) HRESULT _stdcall SignUserID([in] IElPGPPublicKeyX * PublicKey, [in] IElPGPCustomUserX * User, [in] IElPGPSignatureX * Signature, [in] TxSBPGPUserCertificationType CertType);

[DLL]
    not implemented
 
 

Parameters

  • Signature - newly created signature will be placed here
  • SubjectSignature - signature to be signed
  • TimeStamp - time stamp
  • Key - subkey to be bound to the key
  • EmbeddedSignature - if Key can be used for signing the second signature can be placed here. This parameter is optional.
  • PublicKey - some public key
  • User - the TElPGPUserID or TElPGPUserAttr object that specifies the owner of the Key
  • CertType - certification type
 
 

Protection type values

[.NET] [Pascal] [ActiveX] Description
ctGeneric = 0 Generic certification of a User ID and Public Key packet.
The issuer of this certification does not make any particular assertion as to how well the certifier has checked that the owner of the key is in fact the person described by the User ID. By default user certifications use Generic type.
ctPersona = 1 Persona certification of a User ID and Public Key packet.
The issuer of this certification has not done any verification of the claim that the owner of this key is the User ID specified.
ctCasual = 2 Casual certification of a User ID and Public Key packet.
The issuer of this certification has done some casual verification of the claim of identity.
ctPositive = 3 Positive certification of a User ID and Public Key packet.
The issuer of this certification has done substantial verification of the claim of identity.
Declared in
[.NET] [Pascal]
Namespace: SBPGPKeys
Assembly: SecureBlackbox.PGP
Unit: SBPGPKeys

 
 

Description

    Use this method to produce different kinds of signatures.
    (1) Makes a third-party certification of the SubjectSignature.
    (2) Produces a timestamp signature.
    (3) Produces a subkey/primary key binding signature.
    (4) Produces a user certification signature.

 
 

See also:     Revoke    

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