get_IsValid()

DigitalSignature::get_IsValid() method

If this digital signature is valid and the document has not been tampered with, this value will be true. Read-only bool.

bool Aspose::Slides::DigitalSignature::get_IsValid() override

Remarks

auto pres = System::MakeObject<Presentation>(u"SomePresentationSigned.pptx");
for (int i = 0; i < pres->get_DigitalSignatures()->get_Count(); ++i)
{
    auto signature = pres->get_DigitalSignatures()->idx_get(i);
    System::Console::WriteLine(System::String(u"Signature check: ") + (signature->get_IsValid() ? u"VALID" : u"INVALID"));
}

See Also