PKCS12.ShowDialog
-----------------

Shows standard dialog with details.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Certificates](component_Certificates.md) | [9.2](newinversion92.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "PKCS12.ShowDialog"; PKCS12 Reference ) 

**MBS**( **"PKCS12.ShowDialog";** /\* Shows standard dialog with details. \*/  
**$PKCS12 Reference**) /\* The reference to the PKCS12.e.g. $pkcs12 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PKCS12 Reference | The reference to the PKCS12. | $pkcs12 |

### Result

Returns OK or error.

### Description

Shows standard dialog with details.  
Displays the content of the certificate and the chain in the standard dialog to user.  
  
Implemented for Windows with plugins version 11.1.  
### Examples

Show certificate:

 Set Variable \[ $p ; Value: MBS ( "PKCS12.ReadFromFile"; "/Users/cs/Desktop/test\_cert.pfx"; "123456" ) \]   
Set Variable \[ $r ; Value: MBS ( "PKCS12.ShowDialog"; $p ) \]   
Set Variable \[ $r ; Value: MBS ( "PKCS12.Release"; $p ) \]  
### See also

- [PKCS12.ReadFromFile](PKCS12ReadFromFile.md)
- [PKCS12.Release](PKCS12Release.md)

### Release notes

- **Version 11.1**
    - Added Windows support for [PKCS12.ShowDialog](https://www.mbsplugins.eu/PKCS12ShowDialog.shtml) and [X509.ShowDialog](https://www.mbsplugins.eu/X509ShowDialog.shtml) functions.
- **Version 9.2**
    - Added [PKCS12.ShowDialog](http://www.mbsplugins.eu/PKCS12ShowDialog.shtml) and [X509.ShowDialog](http://www.mbsplugins.eu/X509ShowDialog.shtml) functions.

This function checks for a license.

Created 30th April 2019 , last changed 23th February 2021

  
[PKCS12.ReleaseAll](PKCS12ReleaseAll.md) - [PKCS12.SignData](PKCS12SignData.md)

[HTML Version](PKCS12ShowDialog.shtml)