PKCS7

internal final class PKCS7

PKCS7 is a class for handling PKCS#7 messages, extracting X.509 certificates.

See also

X509Certificate
  • Declaration

    Swift

    private(set) var certs: [X509Certificate] { get }
  • Initialize the PKCS7 instance with PKCS#7 message data.

    Throws

    An error if there is an issue parsing the PKCS#7 data or certificates.

    Declaration

    Swift

    internal init(data: [UInt8]) throws

    Parameters

    data

    The PKCS#7 message data in the form of an array of bytes.