type crypto/rsa.PublicKey

40 uses

	crypto/rsa (current package)
		fips.go#L131: func VerifyPSS(pub *PublicKey, hash crypto.Hash, digest []byte, sig []byte, opts *PSSOptions) error {
		fips.go#L193: func EncryptOAEP(hash hash.Hash, random io.Reader, pub *PublicKey, msg []byte, label []byte) ([]byte, error) {
		fips.go#L345: func VerifyPKCS1v15(pub *PublicKey, hash crypto.Hash, hashed []byte, sig []byte) error {
		fips.go#L399: func checkFIPS140OnlyPublicKey(pub *PublicKey) error {
		notboring.go#L11: func boringPublicKey(*PublicKey) (*boring.PublicKeyRSA, error) {
		pkcs1v15.go#L42: func EncryptPKCS1v15(random io.Reader, pub *PublicKey, msg []byte) ([]byte, error) {
		rsa.go#L68: type PublicKey struct {
		rsa.go#L78: func (pub *PublicKey) Size() int {
		rsa.go#L83: func (pub *PublicKey) Equal(x crypto.PublicKey) bool {
		rsa.go#L84: 	xx, ok := x.(*PublicKey)
		rsa.go#L108: 	PublicKey            // public part.
		rsa.go#L261: func checkPublicKeySize(k *PublicKey) error {
		rsa.go#L303: 			PublicKey: PublicKey{
		rsa.go#L350: 		PublicKey: PublicKey{
		rsa.go#L624: func fipsPublicKey(pub *PublicKey) (*rsa.PublicKey, error) {

	crypto/tls
		auth.go#L42: 		pubKey, ok := pubkey.(*rsa.PublicKey)
		auth.go#L50: 		pubKey, ok := pubkey.(*rsa.PublicKey)
		auth.go#L134: 	case *rsa.PublicKey:
		auth.go#L204: 	case *rsa.PublicKey:
		auth.go#L282: 	case *rsa.PublicKey:
		common.go#L1333: 			if _, ok := priv.Public().(*rsa.PublicKey); !ok {
		common.go#L1407: 		case *rsa.PublicKey:
		common.go#L1735: 	case *rsa.PublicKey:
		handshake_client.go#L1094: 			n := cert.cert.PublicKey.(*rsa.PublicKey).N.BitLen()
		handshake_client.go#L1159: 	case *rsa.PublicKey, *ecdsa.PublicKey, ed25519.PublicKey:
		handshake_server.go#L292: 		case *rsa.PublicKey:
		handshake_server.go#L301: 		case *rsa.PublicKey:
		handshake_server.go#L908: 			n := certs[i].PublicKey.(*rsa.PublicKey).N.BitLen()
		handshake_server.go#L963: 		case *ecdsa.PublicKey, *rsa.PublicKey, ed25519.PublicKey:
		handshake_server_tls13.go#L872: 		if rsaKey, ok := public.(*rsa.PublicKey); ok && sigType == signatureRSAPSS &&
		key_agreement.go#L90: 	rsaKey, ok := cert.PublicKey.(*rsa.PublicKey)
		tls.go#L321: 	case *rsa.PublicKey:

	crypto/x509
		parser.go#L248: 		pub := &rsa.PublicKey{
		pkcs1.go#L82: 	key.PublicKey = rsa.PublicKey{
		pkcs1.go#L167: func ParsePKCS1PublicKey(der []byte) (*rsa.PublicKey, error) {
		pkcs1.go#L187: 	return &rsa.PublicKey{
		pkcs1.go#L196: func MarshalPKCS1PublicKey(key *rsa.PublicKey) []byte {
		x509.go#L87: 	case *rsa.PublicKey:
		x509.go#L998: 	case *rsa.PublicKey:
		x509.go#L1523: 	case *rsa.PublicKey: