gecko/security/manager/ssl/public/nsIIdentityInfo.idl

31 lines
985 B
Plaintext

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
[scriptable, uuid(e9da87b8-b87c-4bd1-a6bc-5a9a2c7f6d8d)]
interface nsIIdentityInfo : nsISupports
{
/**
* A "true" value means:
* The object that implements this interface uses a certificate that
* was successfully verified as an Extended Validation (EV) cert.
* The test is bound to SSL Server Cert Usage.
*/
readonly attribute boolean isExtendedValidation;
/**
* This function uses the same test as attribute
* isExtendedValidation
*
* If isExtendedValidation is true, this function will return
* a policy identifier in dotted notation (like 1.2.3.4.5).
*
* If isExtendedValidation is false, this function will return
* an empty (length string) value.
*/
ACString getValidEVPolicyOid();
};