// IntermediateCertificate returns the CA intermediate certificate from the sign
// response.
IntermediateCertificate returns the CA intermediate certificate from the sign
response.
// IntermediateCertificate returns the CA intermediate certificate from the sign // response .
func IntermediateCertificate(sign *api.SignResponse) (*x509.Certificate, error) {
	if sign.CaPEM.Certificate == nil {
		return nil, errors.New("ca: certificate does not exist")
	}
	return sign.CaPEM.Certificate, nil
}
func IntermediateCertificate ( sign * api . SignResponse ) ( * x509 . Certificate , error ) { if sign . CaPEM . Certificate == nil { return nil , errors . New ( " " ) } return sign . CaPEM . Certificate , nil }
IntermediateCertificate returns the CA intermediate certificate from the sign
response.
IntermediateCertificate returns the CA intermediate certificate from the sign response .