trusted_cert_encoded Property
The certificate (PEM/base64 encoded).
Syntax
def get_trusted_cert_encoded(trusted_cert_index: int) -> bytes: ... def set_trusted_cert_encoded(trusted_cert_index: int, value: bytes) -> None: ...
Default Value
""
Remarks
The certificate (PEM/base64 encoded). This property is used to assign a specific certificate. The trusted_cert_store and trusted_cert_subject properties may also be used to specify a certificate.
When trusted_cert_encoded is set, a search is initiated in the current trusted_cert_store for the private key of the certificate. If the key is found, trusted_cert_subject is updated to reflect the full subject of the selected certificate, otherwise trusted_cert_subject is set to empty string.
The trusted_cert_index parameter specifies the index of the item in the array. The size of the array is controlled by the trusted_cert_count property.