diff options
Diffstat (limited to 'lang/cpp/src/key.cpp')
| -rw-r--r-- | lang/cpp/src/key.cpp | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/lang/cpp/src/key.cpp b/lang/cpp/src/key.cpp index 9eebbf01..31e59e19 100644 --- a/lang/cpp/src/key.cpp +++ b/lang/cpp/src/key.cpp @@ -234,6 +234,11 @@ bool Key::isQualified() const      return key && key->is_qualified;  } +bool Key::isDeVs() const +{ +    return key && key->subkeys && key->subkeys->is_de_vs; +} +  const char *Key::issuerSerial() const  {      return key ? key->issuer_serial : 0 ; @@ -469,6 +474,11 @@ bool Subkey::isQualified() const      return subkey && subkey->is_qualified;  } +bool Subkey::isDeVs() const +{ +    return subkey && subkey->is_de_vs; +} +  bool Subkey::isCardKey() const  {      return subkey && subkey->is_cardkey; | 
