code: func (msp *bccspmsp) getCertificationChain(id Identity) ([]*x509.Certificate, error) {
  	mspLogger.Debugf("MSP %s getting certification chain", msp.name)
  
  	switch id := id.(type) {
  	// If this identity is of this specific type,
  	// this is how I can validate it given the
  	// root of trust this MSP has
  	case *identity:
  		return msp.getCertificationChainForBCCSPIdentity(id)
  	default:
  		return nil, errors.New("identity type not recognized")
  	}
  }
docs: // getCertificationChain returns the certification chain of the passed identity within this msp