package telegram

import (
	
	

	

	
	
)

func ( ...tg.CDNPublicKey) ([]*rsa.PublicKey, error) {
	 := make([]*rsa.PublicKey, 0, len())

	for ,  := range  {
		,  := pem.Decode([]byte(.PublicKey))
		if  == nil {
			continue
		}

		,  := crypto.ParseRSA(.Bytes)
		if  != nil {
			return nil, errors.Wrap(, "parse RSA from PEM")
		}

		 = append(, )
	}

	return , nil
}