IPWorks OpenPGP 2020 macOS Edition

Questions / Feedback?

CertEncoded Property

The certificate (PEM/base64 encoded).

Syntax

public var certEncoded: String {
get {...}
set {...} }

public var certEncodedB: Data {
get {...}
set {...} }

Default Value

""

Remarks

The certificate (PEM/base64 encoded). This property is used to assign a specific certificate. The Store and Subject properties may also be used to specify a certificate.

When Encoded is set, a search is initiated in the current Store for the private key of the certificate. If the key is found, Subject is updated to reflect the full subject of the selected certificate, otherwise Subject is set to empty string.

If an error occurs when setting this property an error will not be thrown. This property has a related method which will throw an error:

public func setCertEncodedB(certEncoded: Data) throws
public func setCertEncoded(certEncoded: String) throws

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 macOS Edition - Version 20.0 [Build 7941]