codeunitAdministration & Setupofficial - Microsoftderived - from the source, no model text

Codeunit 1286 "X509Certificate2"

System Application · System.Security.Encryption

Across versions

  1. BC23present
  2. BC2413 procedures added, 13 procedures removed
  3. BC25-26unchanged
  4. BC271 procedures added
  5. BC282 procedures added
  6. BC29-30unchanged

Neighbourhood 2 connected objects and pages

Codeunit 1285 "X509Certificate2 Impl." (calls, 16 links)X509Certificate2 Impl.Codeunit 2202 "Azure Key Vault Impl." (calls)Azure Key Vault Impl.

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

System Application · System.Security.Encryption · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Public

Procedures

  • VerifyCertificate(var CertBase64Value: Text; Password: SecretText; X509ContentType: Enum "X509 Content Type"): Boolean + BC24 − BC24: Verifes that a certificate is initialized and can be exported.
  • GetCertificateFriendlyName(CertBase64Value: Text; Password: SecretText; var FriendlyName: Text) + BC24 − BC24: Specifies the friendly name of the certificate based on it’s Base64 value.
  • GetCertificateSubject(CertBase64Value: Text; Password: SecretText; var Subject: Text) + BC24 − BC24: Specifies the subject of the certificate based on it’s Base64 value.
  • GetCertificateThumbprint(CertBase64Value: Text; Password: SecretText; var Thumbprint: Text) + BC24 − BC24: Specifies the thumbprint of the certificate based on it’s Base64 value.
  • GetCertificateIssuer(CertBase64Value: Text; Password: SecretText; var Issuer: Text) + BC24 − BC24: Specifies the issuer of the certificate based on it’s Base64 value.
  • GetCertificateExpiration(CertBase64Value: Text; Password: SecretText; var Expiration: DateTime) + BC24 − BC24: Specifies the expiration date of the certificate based on it’s Base64 value.
  • GetCertificateNotBefore(CertBase64Value: Text; Password: SecretText; var NotBefore: DateTime) + BC24 − BC24: Specifies the NotBefore date of the certificate based on it’s Base64 value.
  • HasPrivateKey(CertBase64Value: Text; Password: SecretText): Boolean + BC24 − BC24: Checks whether the certificate has a private key based on it’s Base64 value.
  • GetCertificatePropertiesAsJson(CertBase64Value: Text; Password: SecretText; var CertPropertyJson: Text) + BC24 − BC24: Specifies the certificate details in Json object
  • GetCertificatePublicKey(CertBase64Value: Text; Password: SecretText): Text + BC24 − BC24: Gets Certificate public key
  • GetCertificatePrivateKey(CertBase64Value: Text; Password: SecretText): SecretText + BC24 − BC24: Gets Certificate private key
  • GetCertificateSerialNumber(CertBase64Value: Text; Password: SecretText; var SerialNumber: Text) + BC24 − BC24: Gets Certificate serial number
  • GetCertificateSerialNumberAsASCII(CertBase64Value: Text; Password: SecretText; var SerialNumberASCII: Text) + BC24 − BC24: Gets Certificate serial number as ASCII
  • GetCertificatePublicKeyAsBase64String(CertBase64Value: Text; Password: SecretText): Text + BC28: Gets certificate public key as Base64 string
  • GetRawCertDataAsBase64String(CertBase64Value: Text; Password: SecretText): Text + BC28: Returns the raw data for the certificate as a Base64 string.
  • CreateFromPemAndExportAsBase64(CertificateBase64: Text; PrivateKeyXmlString: SecretText; Password: SecretText): Text + BC27: Creates a new instance of X509Certificate2 from the specified Base64 encoded certificate value. The certificate is exported as Base64 encoded string.

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

  • Codeunit 1285 “X509Certificate2 Impl.” (16 calls: CreateFromPemAndExportAsBase64 → CreateFromPemAndExportAsBase64, GetCertificateExpiration → GetCertificateExpiration, GetCertificateFriendlyName → GetCertificateFriendlyName, …)

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "X509Certificate2"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources