...

Package precert

import "github.com/letsencrypt/boulder/precert"
Overview
Index

Overview ▾

func Correspond

func Correspond(precertDER, finalDER []byte) error

Correspond returns nil if the two certificates are a valid precertificate/final certificate pair. Order of the arguments matters: the precertificate is first and the final certificate is second. Note that RFC 6962 allows the precertificate and final certificate to have different Issuers, but this function rejects such pairs.