security/manager/ssl/public/nsICMSMessageErrors.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/manager/ssl/public/nsICMSMessageErrors.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +#include "nsISupports.idl"
    1.10 +
    1.11 +/**
    1.12 + * nsICMSMessageErrors
    1.13 + *  Scriptable error constants for nsICMSMessage
    1.14 + */
    1.15 +[scriptable,uuid(f2aec680-60a0-49f0-afe5-6cf1d3f15e0d)]
    1.16 +interface nsICMSMessageErrors : nsISupports
    1.17 +{
    1.18 +  const long SUCCESS = 0;
    1.19 +  const long GENERAL_ERROR = 1;
    1.20 +  const long VERIFY_NOT_SIGNED = 1024;
    1.21 +  const long VERIFY_NO_CONTENT_INFO = 1025;
    1.22 +  const long VERIFY_BAD_DIGEST = 1026;
    1.23 +  const long VERIFY_NOCERT = 1028;
    1.24 +  const long VERIFY_UNTRUSTED = 1029;
    1.25 +  const long VERIFY_ERROR_UNVERIFIED = 1031;
    1.26 +  const long VERIFY_ERROR_PROCESSING = 1032;
    1.27 +  const long VERIFY_BAD_SIGNATURE = 1033;
    1.28 +  const long VERIFY_DIGEST_MISMATCH = 1034;
    1.29 +  const long VERIFY_UNKNOWN_ALGO = 1035;
    1.30 +  const long VERIFY_UNSUPPORTED_ALGO = 1036;
    1.31 +  const long VERIFY_MALFORMED_SIGNATURE = 1037;
    1.32 +  const long VERIFY_HEADER_MISMATCH = 1038;
    1.33 +  const long VERIFY_NOT_YET_ATTEMPTED = 1039;
    1.34 +  const long VERIFY_CERT_WITHOUT_ADDRESS = 1040;
    1.35 +
    1.36 +  const long ENCRYPT_NO_BULK_ALG = 1056;
    1.37 +  const long ENCRYPT_INCOMPLETE = 1057;
    1.38 +};

mercurial