tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

smime.def (8266B)


      1 ;+#
      2 ;+# This Source Code Form is subject to the terms of the Mozilla Public
      3 ;+# License, v. 2.0. If a copy of the MPL was not distributed with this
      4 ;+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
      5 ;+#
      6 ;+# OK, this file is meant to support SUN, LINUX, AIX and WINDOWS
      7 ;+#   1. For all unix platforms, the string ";-"  means "remove this line"
      8 ;+#   2. For all unix platforms, the string " DATA " will be removed from any 
      9 ;+#	line on which it occurs.
     10 ;+#   3. Lines containing ";+" will have ";+" removed on SUN and LINUX.
     11 ;+#      On AIX, lines containing ";+" will be removed.  
     12 ;+#   4. For all unix platforms, the string ";;" will thave the ";;" removed.
     13 ;+#   5. For all unix platforms, after the above processing has taken place,
     14 ;+#    all characters after the first ";" on the line will be removed.  
     15 ;+#    And for AIX, the first ";" will also be removed.
     16 ;+#  This file is passed directly to windows. Since ';' is a comment, all UNIX
     17 ;+#   directives are hidden behind ";", ";+", and ";-"
     18 ;+
     19 ;+NSS_3.2 {               # NSS 3.2 release
     20 ;+    global:
     21 LIBRARY smime3 ;-
     22 EXPORTS	;-
     23 NSS_CMSContentInfo_GetBulkKey;
     24 NSS_CMSContentInfo_GetBulkKeySize;
     25 NSS_CMSContentInfo_GetContent;
     26 NSS_CMSContentInfo_GetContentEncAlgTag;
     27 NSS_CMSContentInfo_GetContentTypeTag;
     28 NSS_CMSContentInfo_SetBulkKey;
     29 NSS_CMSContentInfo_SetContent;
     30 NSS_CMSContentInfo_SetContentEncAlg;
     31 NSS_CMSContentInfo_SetContent_Data;
     32 NSS_CMSContentInfo_SetContent_DigestedData;
     33 NSS_CMSContentInfo_SetContent_EncryptedData;
     34 NSS_CMSContentInfo_SetContent_EnvelopedData;
     35 NSS_CMSContentInfo_SetContent_SignedData;
     36 NSS_CMSDEREncode;
     37 NSS_CMSDecoder_Cancel;
     38 NSS_CMSDecoder_Finish;
     39 NSS_CMSDecoder_Start;
     40 NSS_CMSDecoder_Update;
     41 NSS_CMSDigestContext_Cancel;
     42 NSS_CMSDigestContext_FinishMultiple;
     43 NSS_CMSDigestContext_FinishSingle;
     44 NSS_CMSDigestContext_StartMultiple;
     45 NSS_CMSDigestContext_StartSingle;
     46 NSS_CMSDigestContext_Update;
     47 NSS_CMSDigestedData_Create;
     48 NSS_CMSDigestedData_Destroy;
     49 NSS_CMSDigestedData_GetContentInfo;
     50 NSS_CMSEncoder_Cancel;
     51 NSS_CMSEncoder_Finish;
     52 NSS_CMSEncoder_Start;
     53 NSS_CMSEncoder_Update;
     54 NSS_CMSEncryptedData_Create;
     55 NSS_CMSEncryptedData_Destroy;
     56 NSS_CMSEncryptedData_GetContentInfo;
     57 NSS_CMSEnvelopedData_AddRecipient;
     58 NSS_CMSEnvelopedData_Create;
     59 NSS_CMSEnvelopedData_Destroy;
     60 NSS_CMSEnvelopedData_GetContentInfo;
     61 NSS_CMSMessage_ContentLevel;
     62 NSS_CMSMessage_ContentLevelCount;
     63 NSS_CMSMessage_Copy;
     64 NSS_CMSMessage_Create;
     65 NSS_CMSMessage_CreateFromDER;
     66 NSS_CMSMessage_Destroy;
     67 NSS_CMSMessage_GetContent;
     68 NSS_CMSMessage_GetContentInfo;
     69 NSS_CMSRecipientInfo_Create;
     70 NSS_CMSRecipientInfo_Destroy;
     71 NSS_CMSSignedData_AddCertChain;
     72 NSS_CMSSignedData_AddCertList;
     73 NSS_CMSSignedData_AddCertificate;
     74 NSS_CMSSignedData_AddDigest;
     75 NSS_CMSSignedData_AddSignerInfo;
     76 NSS_CMSSignedData_Create;
     77 NSS_CMSSignedData_CreateCertsOnly;
     78 NSS_CMSSignedData_Destroy;
     79 NSS_CMSSignedData_GetContentInfo;
     80 NSS_CMSSignedData_GetDigestAlgs;
     81 NSS_CMSSignedData_GetSignerInfo;
     82 NSS_CMSSignedData_HasDigests;
     83 NSS_CMSSignedData_ImportCerts;
     84 NSS_CMSSignedData_SetDigests;
     85 NSS_CMSSignedData_SignerInfoCount;
     86 NSS_CMSSignedData_VerifyCertsOnly;
     87 NSS_CMSSignedData_VerifySignerInfo;
     88 NSS_CMSSignerInfo_AddSMIMECaps;
     89 NSS_CMSSignerInfo_AddSMIMEEncKeyPrefs;
     90 NSS_CMSSignerInfo_AddSigningTime;
     91 NSS_CMSSignerInfo_Create;
     92 NSS_CMSSignerInfo_Destroy;
     93 NSS_CMSSignerInfo_GetCertList;
     94 NSS_CMSSignerInfo_GetSignerCommonName;
     95 NSS_CMSSignerInfo_GetSignerEmailAddress;
     96 NSS_CMSSignerInfo_GetSigningCertificate;
     97 NSS_CMSSignerInfo_GetSigningTime;
     98 NSS_CMSSignerInfo_GetVerificationStatus;
     99 NSS_CMSSignerInfo_GetVersion;
    100 NSS_CMSSignerInfo_IncludeCerts;
    101 NSS_CMSUtil_VerificationStatusToString;
    102 NSS_SMIMEUtil_FindBulkAlgForRecipients;
    103 CERT_DecodeCertPackage;
    104 SEC_PKCS7AddRecipient;
    105 SEC_PKCS7AddSigningTime;
    106 SEC_PKCS7ContentType;
    107 SEC_PKCS7CreateData;
    108 SEC_PKCS7CreateEncryptedData;
    109 SEC_PKCS7CreateEnvelopedData;
    110 SEC_PKCS7CreateSignedData;
    111 SEC_PKCS7DecodeItem;
    112 SEC_PKCS7DecoderFinish;
    113 SEC_PKCS7DecoderStart;
    114 SEC_PKCS7DecoderUpdate;
    115 SEC_PKCS7DecryptContents;
    116 SEC_PKCS7DestroyContentInfo;
    117 SEC_PKCS7EncoderFinish;
    118 SEC_PKCS7EncoderStart;
    119 SEC_PKCS7EncoderUpdate;
    120 SEC_PKCS7GetCertificateList;
    121 SEC_PKCS7GetContent;
    122 SEC_PKCS7GetEncryptionAlgorithm;
    123 SEC_PKCS7IncludeCertChain;
    124 SEC_PKCS7IsContentEmpty;
    125 SEC_PKCS7VerifySignature;
    126 SEC_PKCS12AddCertAndKey;
    127 SEC_PKCS12AddPasswordIntegrity;
    128 SEC_PKCS12CreateExportContext;
    129 SEC_PKCS12CreatePasswordPrivSafe;
    130 SEC_PKCS12CreateUnencryptedSafe;
    131 SEC_PKCS12EnableCipher;
    132 SEC_PKCS12Encode;
    133 SEC_PKCS12DecoderImportBags;
    134 SEC_PKCS12DecoderFinish;
    135 SEC_PKCS12DecoderStart;
    136 SEC_PKCS12DecoderUpdate;
    137 SEC_PKCS12DecoderValidateBags;
    138 SEC_PKCS12DecoderVerify;
    139 SEC_PKCS12DestroyExportContext;
    140 SEC_PKCS12IsEncryptionAllowed;
    141 SEC_PKCS12SetPreferredCipher;
    142 ;+    local:
    143 ;+        *;
    144 ;+};
    145 ;+NSS_3.2.1 {               # NSS 3.2.1 release
    146 ;+    global:
    147 NSSSMIME_VersionCheck;
    148 ;+    local:
    149 ;+        *;
    150 ;+};
    151 ;+NSS_3.3 {     # NSS 3.3 release
    152 ;+    global:
    153 SEC_PKCS7AddCertificate;
    154 SEC_PKCS7CreateCertsOnly;
    155 SEC_PKCS7Encode;
    156 ;+    local:
    157 ;+       *;
    158 ;+};
    159 ;+NSS_3.4 {     # NSS 3.4 release
    160 ;+    global:
    161 CERT_DecodeCertFromPackage;
    162 NSS_CMSMessage_IsSigned;
    163 NSS_CMSSignedData_SetDigestValue;
    164 NSS_SMIMESignerInfo_SaveSMIMEProfile;
    165 SEC_PKCS12DecoderGetCerts;
    166 SEC_PKCS7ContainsCertsOrCrls;
    167 SEC_PKCS7ContentIsEncrypted;
    168 SEC_PKCS7ContentIsSigned;
    169 SEC_PKCS7CopyContentInfo;
    170 SEC_PKCS7GetSignerCommonName;
    171 SEC_PKCS7GetSignerEmailAddress;
    172 SEC_PKCS7GetSigningTime;
    173 SEC_PKCS7SetContent;
    174 SEC_PKCS7VerifyDetachedSignature;
    175 SECMIME_DecryptionAllowed;
    176 ;+    local:
    177 ;+       *;
    178 ;+};
    179 ;+NSS_3.4.1 {     # NSS 3.4.1 release
    180 ;+    global:
    181 NSS_CMSMessage_IsEncrypted;
    182 ;+    local:
    183 ;+       *;
    184 ;+};
    185 ;+NSS_3.6 {     # NSS 3.6 release
    186 ;+    global:
    187 NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs;
    188 NSS_CMSSignerInfo_CreateWithSubjKeyID;
    189 ;+    local:
    190 ;+       *;
    191 ;+};
    192 ;+NSS_3.7 {     # NSS 3.7 release
    193 ;+    global:
    194 NSS_CMSRecipientInfo_CreateWithSubjKeyID;
    195 NSS_CMSRecipientInfo_CreateWithSubjKeyIDFromCert;
    196 ;+    local:
    197 ;+       *;
    198 ;+};
    199 ;+NSS_3.7.2 {   # NSS 3.7.2 release
    200 ;+    global:
    201 NSS_CMSRecipientInfo_WrapBulkKey;
    202 NSS_CMSRecipientInfo_UnwrapBulkKey;
    203 ;+    local:
    204 ;+       *;
    205 ;+};
    206 ;+NSS_3.8 {   # NSS 3.8 release
    207 ;+    global:
    208 NSS_CMSRecipientInfo_CreateNew;
    209 NSS_CMSRecipientInfo_CreateFromDER;
    210 NSS_CMSRecipientInfo_Encode;
    211 NSS_CMSRecipientInfo_GetCertAndKey;
    212 SEC_PKCS12DecoderSetTargetTokenCAs;
    213 ;+    local:
    214 ;+       *;
    215 ;+};
    216 ;+NSS_3.9 {   # NSS 3.9 release
    217 ;+    global:
    218 SEC_PKCS7DecoderAbort;
    219 SEC_PKCS7EncoderAbort;
    220 ;+    local:
    221 ;+       *;
    222 ;+};
    223 ;+NSS_3.9.3 {   # NSS 3.9.3 release
    224 ;+    global:
    225 CERT_ConvertAndDecodeCertificate;
    226 SEC_PKCS7EncodeItem;
    227 ;+    local:
    228 ;+       *;
    229 ;+};
    230 ;+NSS_3.10 {   # NSS 3.10 release
    231 ;+    global:
    232 SEC_PKCS12DecoderIterateInit;
    233 SEC_PKCS12DecoderIterateNext;
    234 SEC_PKCS12DecryptionAllowed;
    235 ;+    local:
    236 ;+       *;
    237 ;+};
    238 ;+NSS_3.12.2 {   # NSS 3.12.2 release
    239 ;+    global:
    240 SEC_PKCS12AddCertOrChainAndKey;
    241 ;+    local:
    242 ;+       *;
    243 ;+};
    244 ;+NSS_3.12.10 {   # NSS 3.12.10 release
    245 ;+    global:
    246 NSS_CMSType_RegisterContentType;
    247 NSS_CMSContentInfo_SetDontStream;
    248 NSS_SMIMEUtil_CreateMSSMIMEEncKeyPrefs;
    249 ;+#
    250 ;+# Data objects
    251 ;+#
    252 ;+# Don't export these DATA symbols on Windows because they don't work right.
    253 ;+# Use the SEC_ASN1_GET / SEC_ASN1_SUB / SEC_ASN1_XTRN macros to access them.
    254 ;+#
    255 ;+# See nssutil for other examples.
    256 ;+#
    257 ;;NSSCMSGenericWrapperDataTemplate DATA ;
    258 ;;NSS_PointerToCMSGenericWrapperDataTemplate DATA ;
    259 NSS_Get_NSSCMSGenericWrapperDataTemplate;
    260 NSS_Get_NSS_PointerToCMSGenericWrapperDataTemplate;
    261 ;+    local:
    262 ;+       *;
    263 ;+};
    264 ;+NSS_3.13 {    # NSS 3.13 release
    265 ;+    global:
    266 NSSSMIME_GetVersion;
    267 ;+    local:
    268 ;+       *;
    269 ;+};
    270 ;+NSS_3.15 {    # NSS 3.15 release
    271 ;+    global:
    272 SEC_PKCS7VerifyDetachedSignatureAtTime;
    273 ;+    local:
    274 ;+       *;
    275 ;+};
    276 ;+NSS_3.16 {    # NSS 3.16 release
    277 ;+    global:
    278 NSS_CMSSignerInfo_Verify;
    279 ;+    local:
    280 ;+       *;
    281 ;+};
    282 ;+NSS_3.18 {    # NSS 3.18 release
    283 ;+    global:
    284 SEC_PKCS12DecoderRenameCertNicknames;
    285 ;+    local:
    286 ;+       *;
    287 ;+};
    288 ;+NSS_3.89 {    # NSS 3.89 release
    289 ;+    global:
    290 NSS_CMSSignerInfo_GetDigestAlgTag;
    291 ;+    local:
    292 ;+       *;
    293 ;+};
    294 ;+NSS_3.99 {    # NSS 3.99 release
    295 ;+    global:
    296 NSS_CMSRecipient_IsSupported;
    297 ;+    local:
    298 ;+       *;
    299 ;+};
    300 ;+NSS_3.101 {    # NSS 3.101 release
    301 ;+    global:
    302 SEC_PKCS12CipherAllowed;
    303 SEC_PKCS12IntegrityHashAllowed;
    304 ;+    local:
    305 ;+       *;
    306 ;+};