Discuss this help topic in SecureBlackbox Forum

TElSMimeError

Declared in     


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


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

Declaration

[C#/Java]
    TElSMimeError = short;
        const short smeUnknown = 1;
        const short smeSignaturePartNotFound = 2;
        const short smeBodyPartNotFound = 4;
        const short smeInvalidSignature = 8;
        const short smeSigningCertificateMismatch = 16;
        const short smeEncryptingCertificateMismatch = 32;
        const short smeNoData = 64;
        const short smeInvalidMessageDigest = 128;
        const short smeOmittedMessageDigest = 256;

[VB.NET]
    TElSMimeError As SmallInt
        Const smeUnknown As SmallInt = 1
        Const smeSignaturePartNotFound As SmallInt = 2
        Const smeBodyPartNotFound As SmallInt = 4
        Const smeInvalidSignature As SmallInt = 8
        Const smeSigningCertificateMismatch As SmallInt = 16
        Const smeEncryptingCertificateMismatch As SmallInt = 32
        Const smeNoData As SmallInt = 64
        Const smeInvalidMessageDigest As SmallInt = 128
        Const smeOmittedMessageDigest As SmallInt = 256

[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;

Description

Possible values:


    smeUnknown error can happen if used references/properties were not set or set incorrect.

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