EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElCertificateLookup.KeyUsage

TElCertificateLookup     See also    


 

Specifies required key usages.

 
 

Declaration

[C#]
    TSBKeyUsage KeyUsage;

    TSBKeyUsage = SmallInt
      kuDigitalSignature = SmallInt(1);
      kuNonRepudiation = SmallInt(2);
      kuKeyEncipherment = SmallInt(4);
      kuDataEncipherment = SmallInt(8);
      kuKeyAgreement = SmallInt(16);
      kuKeyCertSign = SmallInt(32);
      kuCRLSign = SmallInt(64);
      kuEncipherOnly = SmallInt(128);
      kuDecipherOnly = SmallInt(256);

[VB.NET]
    Property KeyUsage As TSBKeyUsage

    TSBKeyUsage As SmallInt
      Const kuDigitalSignature As SmallInt = 1
      Const kuNonRepudiation As SmallInt = 2
      Const kuKeyEncipherment As SmallInt = 4
      Const kuDataEncipherment As SmallInt = 8
      Const kuKeyAgreement As SmallInt = 16
      Const kuKeyCertSign As SmallInt = 32
      Const kuCRLSign As SmallInt = 64
      Const kuEncipherOnly As SmallInt = 128
      Const kuDecipherOnly As SmallInt = 256

[Pascal]
    property KeyUsage : TSBKeyUsage;
    TSBKeyUsage = set of TSBKeyUsageType;

[VB6]
    Property IElCertificateLookupX.KeyUsage As TxSBKeyUsage

    TxSBKeyUsage As Long

Represents a bit mask which contains zero or more bit flags as defined by TSBKeyUsageType

[ActiveX]
    HRESULT _stdcall IElCertificateLookupX.KeyUsage([in] TxSBKeyUsage Value );
    HRESULT _stdcall IElCertificateLookupX.KeyUsage([out, retval] TxSBKeyUsage * Value );

    typedef long TxSBKeyUsage;

Represents a bit mask which contains zero or more bit flags as defined by TSBKeyUsageType

[DLL]
    not implemented;
 
 

Values:

[.NET] [Pascal] [ActiveX] Description
kuDigitalSignature = SmallInt(1) kuDigitalSignature kuDigitalSignature = 1 Subject private key is used with a digital signature mechanism to support security services other than non-repudiation, certificate signing, or revocation information signing.
kuNonRepudiation = SmallInt(2) kuNonRepudiation kuNonRepudiation = 2 Subject public key is used to verify digital signatures used to provide a non-repudiation service which protects against the signing entity falsely denying some action, excluding certificate or CRL signing.
kuKeyEncipherment = SmallInt(4) kuKeyEncipherment kuKeyEncipherment = 4 Subject private key is used for key transport.
kuDataEncipherment = SmallInt(8) kuDataEncipherment kuDataEncipherment = 8 Subject public key is used for enciphering user data, other than cryptographic keys.
kuKeyAgreement = SmallInt(16) kuKeyAgreement kuKeyAgreement = 16 Subject public key is used for key agreement.
kuKeyCertSign = SmallInt(32) kuKeyCertSign kuKeyCertSign = 32 Subject private key is used for certificates signing.
kuCRLSign = SmallInt(64) kuCRLSign kuCRLSign = 64 Subject private key is used for revocation information signing (e.g., a CRL).
kuEncipherOnly = SmallInt(128) kuEncipherOnly kuEncipherOnly = 128 When the EncipherOnly property is set and the KeyAgreement is also set, the subject public key may be used only for enciphering data while performing key agreement.
kuDecipherOnly = SmallInt(256) kuDecipherOnly kuDecipherOnly = 256 When the DecipherOnly property is set and the keyAgreement is also set, the subject private key may be used only for deciphering data while performing key agreement.
Declared in
[.NET] [Pascal]
Namespace: SBX509Ext
Assembly: SecureBlackbox
Unit: SBX509Ext

 
 

Description

    Use this property to specify key usages that certificate must have.

    Note:  KeyUsageOptions assigning differs for VCL and ActiveX and .NET versions. To enable several options in ActiveX and .NET use bitwise OR operation, for example "kuDigitalSignature | kuCRLSign | kuKeyAgreement".

 
 

See also:     TElKeyUsageExtension class    

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