summaryrefslogtreecommitdiffstats
path: root/security/manager/ssl/nsIX509CertDB.idl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /security/manager/ssl/nsIX509CertDB.idl
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-upstream/125.0.1.tar.xz
firefox-upstream/125.0.1.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'security/manager/ssl/nsIX509CertDB.idl')
-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)]