Discuss this help topic in SecureBlackbox Forum

TElPGPCustomPublicKey.IsEncryptingKey

TElPGPCustomPublicKey     See also     


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


Checks if the key can be used for encryption.

Declaration

[C#]
    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)

[Java]
    boolean isEncryptingKey(boolean 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