Contents

AssetCredentialCertificate

A reference to a PKCS #1 or PEM encoded certificate.

Declaration

object AssetCredentialCertificate

Properties

NameTypeDescription
AuthenticationAssetCredentialCertificateAuthenticationObject

The server authentication details.

Reference RequiredAssetCredentialCertificateReferenceObject

The external reference. Ensure that the asset data uses a media type of application/pkcs1 or application/pem to correctly identify the type of encoded certificate. If the asset data includes a ContentType sub-key, set it to the corresponding media type.

Discussion

Specify com.apple.asset.credential.certificate as the declaration type.

Asset example

{
    "Type": "com.apple.asset.credential.certificate",
    "Identifier": "EB13EE2B-5D63-4EBA-810F-5B81D07F5017",
    "ServerToken": "E180CA9A-F089-4FA3-BBDF-94CC159C4AE8",
    "Payload": {
        "Reference": {
            "DataURL": "https://example.com/asset-data/certificates/cert.pem",
            "ContentType": "application/pem"
        }
    }
}

Topics

Objects

See Also

Assets