---
title: "Codeunit 1259 Certificate Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1259-certificate-management/
type: codeunit
id: 1259
name: "Certificate Management"
app: "Base Application"
namespace: System.Security.Encryption
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1259-certificate-management/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 1259 Certificate Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1259-certificate-management/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Security.Encryption |
| Versions | 17-28 |
| Source file | System/IsolatedStorage/CertificateManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| UploadAndVerifyCert | (var Record Isolated Certificate) | Boolean | public | 17-28 | - | - |
| InitIsolatedCertificateFromBlob | (var Record Isolated Certificate, Codeunit Temp Blob) | Boolean | public | 17-28 | - | - |
| VerifyCert | (var Record Isolated Certificate) | Boolean | public | 17-28 | - | - |
| VerifyCertFromString | (var Record Isolated Certificate, Text) | - | public | 17-28 | - | - |
| SaveCertToIsolatedStorage | (Record Isolated Certificate) | - | public | 17-28 | - | - |
| SavePasswordToIsolatedStorage | (var Record Isolated Certificate) | - | public | 17-28 | - | - |
| GetPasswordAsSecureString | (var Codeunit DotNet_SecureString, Record Isolated Certificate) | - | public | 17-28 | - | - |
| GetPassword | (Record Isolated Certificate) | Text | public | 17-26 | Pending 24.0 | Replaced by GetPasswordAsSecret with SecretText data type for the return value. |
| GetCertAsBase64String | (Record Isolated Certificate) | Text | public | 17-28 | - | - |
| GetCertDataScope | (Record Isolated Certificate) | DataScope | public | 17-28 | - | - |
| DeleteCertAndPasswordFromIsolatedStorage | (Record Isolated Certificate) | - | public | 17-28 | - | - |
| GetUploadedCertFileName | () | Text | public | 17-28 | - | - |
| SetCertPassword | (Text) | - | public | 17-26 | Pending 24.0 | Replaced by SetCertPassword with SecretText data type for CertificatePassword parameter. |
| GetRawCertDataAsBase64String | (Record Isolated Certificate) | Text | public | 20-28 | - | - |
| VerifyCertFromBase64 | (Text) | Boolean | public | 20-28 | - | - |
| GetCertSimpleName | (Record Isolated Certificate) | Text | public | 20-28 | - | - |
| GetCertPrivateKey | (Record Isolated Certificate, var Codeunit Signature Key) | - | public | 20-28 | - | - |
| GetPublicKeyAsBase64String | (Text, Text) | Text | public | 23-26 | Pending 24.0 | Replaced by GetPublicKeyAsBase64String with SecretText data type for Password parameter. |
| GetPasswordAsSecret | (Record Isolated Certificate) | SecretText | public | 24-28 | - | - |
| SetCertPassword | (SecretText) | - | public | 24-28 | - | - |
| GetPublicKeyAsBase64String | (Text, SecretText) | Text | public | 24-28 | - | - |
| ReadCertFromStream | (SecretText, var InStream) | Boolean | public | 27-28 | - | - |
| ValidateCertFields | (var Record Isolated Certificate) | - | public | 27-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
