Discuss this help topic in SecureBlackbox Forum

TElPGPCustomPublicKey.IsEncryptingKey

TElPGPCustomPublicKey     See also     


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


Checks if the key can be used for encryption.

Declaration

[C#/Java]
    bool IsEncryptingKey(bool WithSubkeys);

[VB.NET]
    Function IsEncryptingKey(ByVal WithSubkeys As Boolean) As Boolean

[Pascal]
    function IsEncryptingKey(WithSubkeys : boolean = true) : boolean;

[C++]
    bool IsEncryptingKey(bool WithSubkeys);

[PHP]
    bool IsEncryptingKey(bool $WithSubkeys)

Parameters

  • WithSubkeys - specifies if subkeys must be notified.

Return value

     True if key can be used for encryption,
     False otherwise

Description

    Use this method to check if the key can be used for encryption.

See also:     IsSigningKey    

Discuss this help topic in SecureBlackbox Forum