src/SignedData.php
/**
     * Add any certificate for further chain check
     * @param Certificate $certificate
     * @return $this
     * @throws Exception
     */
Add any certificate for further chain check
@param Certificate $certificate
@return $this
@throws Exception
Add any certificate for further chain check @param Certificate $certificate @return $this @throws Exception
public function addIntermediateCertificate(Certificate $certificate): SignedData
    {
        $this->intermediateCertificates[$certificate->getSubjectKeyIdentifier()] = $certificate;
        return $this;
    }
public function addIntermediateCertificate ( Certificate $ certificate ) : SignedData { $ this -> intermediateCertificates [ $ certificate -> getSubjectKeyIdentifier ( ) ] = $ certificate ; return $ this ; }
Add any certificate for further chain check
 @param Certificate $certificate
 @return $this
 @throws Exception
Add any certificate for further chain check @param Certificate $certificate @return $this @throws Exception