type crypto/rsa.PublicKey

43 uses

	crypto/rsa (current package)
		fips.go#L132: func VerifyPSS(pub *PublicKey, hash crypto.Hash, digest []byte, sig []byte, opts *PSSOptions) error {
		fips.go#L194: func EncryptOAEP(hash hash.Hash, random io.Reader, pub *PublicKey, msg []byte, label []byte) ([]byte, error) {
		fips.go#L205: func EncryptOAEPWithOptions(random io.Reader, pub *PublicKey, msg []byte, opts *OAEPOptions) ([]byte, error) {
		fips.go#L212: func encryptOAEP(hash hash.Hash, mgfHash hash.Hash, random io.Reader, pub *PublicKey, msg []byte, label []byte) ([]byte, error) {
		fips.go#L364: func VerifyPKCS1v15(pub *PublicKey, hash crypto.Hash, hashed []byte, sig []byte) error {
		fips.go#L418: func checkFIPS140OnlyPublicKey(pub *PublicKey) error {
		notboring.go#L11: func boringPublicKey(*PublicKey) (*boring.PublicKeyRSA, error) {
		pkcs1v15.go#L50: 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#L111: 	PublicKey            // public part.
		rsa.go#L295: func checkPublicKeySize(k *PublicKey) error {
		rsa.go#L337: 			PublicKey: PublicKey{
		rsa.go#L386: 		PublicKey: PublicKey{
		rsa.go#L665: func fipsPublicKey(pub *PublicKey) (*rsa.PublicKey, error) {

	crypto/tls
		auth.go#L46: 		pubKey, ok := pubkey.(*rsa.PublicKey)
		auth.go#L54: 		pubKey, ok := pubkey.(*rsa.PublicKey)
		auth.go#L81: 		pubKey, ok := pubkey.(*rsa.PublicKey)
		auth.go#L158: 	case *rsa.PublicKey:
		auth.go#L213: 	case *rsa.PublicKey:
		auth.go#L297: 	case *rsa.PublicKey:
		common.go#L1411: 			if _, ok := priv.Public().(*rsa.PublicKey); !ok {
		common.go#L1489: 		case *rsa.PublicKey:
		defaults_fips140.go#L69: 	case *rsa.PublicKey:
		handshake_client.go#L1108: 			n := cert.PublicKey.(*rsa.PublicKey).N.BitLen()
		handshake_client.go#L1172: 	case *rsa.PublicKey, *ecdsa.PublicKey, ed25519.PublicKey:
		handshake_server.go#L311: 		case *rsa.PublicKey:
		handshake_server.go#L320: 		case *rsa.PublicKey:
		handshake_server.go#L950: 			n := certs[i].PublicKey.(*rsa.PublicKey).N.BitLen()
		handshake_server.go#L1004: 		case *ecdsa.PublicKey, *rsa.PublicKey, ed25519.PublicKey:
		handshake_server_tls13.go#L873: 		if rsaKey, ok := public.(*rsa.PublicKey); ok && sigType == signatureRSAPSS &&
		key_agreement.go#L91: 	rsaKey, ok := cert.PublicKey.(*rsa.PublicKey)
		tls.go#L332: 	case *rsa.PublicKey:

	crypto/x509
		parser.go#L280: 		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#L1015: 	case *rsa.PublicKey:
		x509.go#L1540: 	case *rsa.PublicKey: