Discuss this help topic in SecureBlackbox Forum

TElSMimeError

Declared in     


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


Defines possible errors which can occur during the decryption or signature verification.

Declaration

[C#]
    TElSMimeError = short;
        const short smeUnknown = 0;
        const short smeSignaturePartNotFound = 1;
        const short smeBodyPartNotFound = 2;
        const short smeInvalidSignature = 3;
        const short smeSigningCertificateMismatch = 4;
        const short smeEncryptingCertificateMismatch = 5;
        const short smeNoData = 6;
        const short smeInvalidMessageDigest = 7;
        const short smeOmittedMessageDigest = 8;

[VB.NET]
    TElSMimeError As Short
        Const smeUnknown As Short = 0
        Const smeSignaturePartNotFound As Short = 1
        Const smeBodyPartNotFound As Short = 2
        Const smeInvalidSignature As Short = 3
        Const smeSigningCertificateMismatch As Short = 4
        Const smeEncryptingCertificateMismatch As Short = 5
        Const smeNoData As Short = 6
        Const smeInvalidMessageDigest As Short = 7
        Const smeOmittedMessageDigest As Short = 8

[Pascal]
    TElSMimeError = (smeUnknown, smeSignaturePartNotFound, smeBodyPartNotFound, smeInvalidSignature, smeSigningCertificateMismatch, smeEncryptingCertificateMismatch, smeNoData, smeInvalidMessageDigest, smeOmittedMessageDigest);

[C++]
    typedef uint8_t TElSMimeErrorRaw;
    typedef enum { smeUnknown = 0, smeSignaturePartNotFound = 1, smeBodyPartNotFound = 2, smeInvalidSignature = 3, smeSigningCertificateMismatch = 4, smeEncryptingCertificateMismatch = 5, smeNoData = 6, smeInvalidMessageDigest = 7, smeOmittedMessageDigest = 8 } TElSMimeError;
    
    typedef uint32_t TElSMimeErrorsRaw;
    typedef enum { f_smeUnknown = 1, f_smeSignaturePartNotFound = 2, f_smeBodyPartNotFound = 4, f_smeInvalidSignature = 8, f_smeSigningCertificateMismatch = 16, f_smeEncryptingCertificateMismatch = 32, f_smeNoData = 64, f_smeInvalidMessageDigest = 128, f_smeOmittedMessageDigest = 256 } TElSMimeErrors;

[PHP]
    class TElSMimeError extends TSBBaseEnum {
        const smeUnknown = 0;
        const smeSignaturePartNotFound = 1;
        const smeBodyPartNotFound = 2;
        const smeInvalidSignature = 3;
        const smeSigningCertificateMismatch = 4;
        const smeEncryptingCertificateMismatch = 5;
        const smeNoData = 6;
        const smeInvalidMessageDigest = 7;
        const smeOmittedMessageDigest = 8;
    }

[Java]
    not available

Possible values

Declared in

.NET:
  • Namespace: SBSMIMECore
  • Assembly: SecureBlackbox.SMIME
VCL:
  • Unit: SBSMIMECore
Java:
  • Package: SecureBlackbox.SMIME.jar
C++:
  • sbsmimecore.h

Discuss this help topic in SecureBlackbox Forum