On Sun, Jun 21, 2015 at 03:21:59AM -0700, Manuel_dev wrote:
> Thank you for your response. Efectively, I need to encode individual SCTs
> into TLS encoding, and I tried to encode SCT into TLS with PHP but it was
> impossible. I don't know how to convert the SCT JSON String into TLS
> encoded binary.
You're probably more-or-less on your own in writing such code -- you'll need
to read and understand the various intricacies of the different data
structures in RFC6962 (for the JSON) and RFC5246 (for the TLS extension),
and write the PHP code to transmogrify one into the other.
If you have specific questions about the meaning of individual parts of the
spec, I'm sure a question here will get you an answer. However, without a
better idea of what exactly you're getting stuck on, I doubt you'll get the
help you need. Claiming that it is "impossible" isn't giving us much to go
on (unless, perhaps, you're hoping that someone will prove you wrong and
then give you the code as proof...)
Perhaps, as a first step, you could share the code you've written, and the
intermediate steps you've gotten (for instance, for a given JSON SCT, what
does your SignedCertificateTimestamp look like? Then what does your
SignedCertificateTimestampList look like? And the TLS extension?
- Matt
--
My favourite was some time ago, and involved a female customer thanking "Mr.
Daemon" for his effort trying to deliver her mail, and offering him a "good
time" if he ever visited Sydney.
-- Matt McLeod