Check if this key has an algorithm type that makes it suitable to use for encryption.
Namespace: Org.BouncyCastle.Bcpg.OpenPgpAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public bool IsEncryptionKey { get; } |
Visual Basic |
---|
Public ReadOnly Property IsEncryptionKey As Boolean Get |
Visual C++ |
---|
public: property bool IsEncryptionKey { bool get (); } |
Return Value
true if this key algorithm is suitable for encryption.
Remarks
Note: with version 4 keys KeyFlags subpackets should also be considered when present for
determining the preferred use of the key.