06/03/2022
According §7.5.2 part 12 v1.04, the TrustListType defines a FileType object and its Write method takes a ByteString as input argument.
The TrustList file is a UA Binary encoded stream.
Should the ByteString in the Write method be a list of certificates in PEM encoded form to unbind each one?
(-----BEGIN/END CERTIFICATE-----)
For comparison, the GetRejectedList method of the Push model (§7.7.7 part 12 v1.04) returns a ByteString array and each item is a DER encoded form of certificate.
How to manage the encoding format of several certificates with a single ByteString for the Write method of the TrustListType?
Thanks!
05/30/2017
You need to read the entire sentence:
The TrustList file is a UA Binary encoded stream containing an instance of TrustListDataType (see 7.8.2.6).
IOW, the ByteString is an instance TrustListDataType encoded using the UA Binary encoding rules.
The TrustListDataType contains ByteString arrays which are lists of DER encoded Certificates.
1 Guest(s)