summaryrefslogtreecommitdiffstats
path: root/security/manager/ssl/nsIX509CertDB.idl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /security/manager/ssl/nsIX509CertDB.idl
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--security/manager/ssl/nsIX509CertDB.idl16
1 files changed, 15 insertions, 1 deletions
diff --git a/security/manager/ssl/nsIX509CertDB.idl b/security/manager/ssl/nsIX509CertDB.idl
index fe72c78f40..733caed3d6 100644
--- a/security/manager/ssl/nsIX509CertDB.idl
+++ b/security/manager/ssl/nsIX509CertDB.idl
@@ -19,12 +19,26 @@ interface nsIInputStream;
typedef uint32_t AppTrustedRoot;
+[scriptable, builtinclass, uuid(e5795418-86e0-4c0b-9b98-ac7eee0c2af7)]
+interface nsIAppSignatureInfo : nsISupports {
+ // Supported signature algorithms.
+ cenum SignatureAlgorithm : 32 {
+ PKCS7_WITH_SHA1,
+ PKCS7_WITH_SHA256,
+ COSE_WITH_SHA256,
+ };
+
+ // The certificate that created the signature.
+ readonly attribute nsIX509Cert signerCert;
+ readonly attribute nsIAppSignatureInfo_SignatureAlgorithm signatureAlgorithm;
+};
+
[scriptable, function, uuid(fc2b60e5-9a07-47c2-a2cd-b83b68a660ac)]
interface nsIOpenSignedAppFileCallback : nsISupports
{
void openSignedAppFileFinished(in nsresult rv,
in nsIZipReader aZipReader,
- in nsIX509Cert aSignerCert);
+ in Array<nsIAppSignatureInfo> aSignatureInfos);
};
[scriptable, function, uuid(07c08655-8b11-4650-b6c4-0c145595ceb5)]