type crypto/rsa.PublicKey
72 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:
github.com/gotd/td/crypto
public_keys.go#L12: func ParseRSAPublicKeys(data []byte) ([]*rsa.PublicKey, error) {
public_keys.go#L13: var keys []*rsa.PublicKey
public_keys.go#L34: func ParseRSA(data []byte) (*rsa.PublicKey, error) {
public_keys.go#L43: publicKey, ok := k.(*rsa.PublicKey)
rsa.go#L27: func RSAPublicDecrypt(pub *rsa.PublicKey, sig []byte) ([]byte, error) {
rsa.go#L40: func rsaEncrypt(data []byte, key *rsa.PublicKey) []byte {
rsa_fingerprint.go#L13: func RSAFingerprint(key *rsa.PublicKey) int64 {
rsa_hashed.go#L13: func RSAEncryptHashed(data []byte, key *rsa.PublicKey, randomSource io.Reader) ([]byte, error) {
rsa_pad.go#L34: func RSAPad(data []byte, key *rsa.PublicKey, randomSource io.Reader) ([]byte, error) {
github.com/gotd/td/exchange
key.go#L12: RSA *rsa.PublicKey
github.com/gotd/td/telegram
cdn.go#L20: key *rsa.PublicKey
github.com/gotd/td/telegram/dcs
dns.go#L23: rsa.PublicKey
github.com/refraction-networking/utls
auth.go#L41: pubKey, ok := pubkey.(*rsa.PublicKey)
auth.go#L49: pubKey, ok := pubkey.(*rsa.PublicKey)
auth.go#L133: case *rsa.PublicKey:
auth.go#L203: case *rsa.PublicKey:
auth.go#L283: case *rsa.PublicKey:
common.go#L1407: if _, ok := priv.Public().(*rsa.PublicKey); !ok {
common.go#L1481: case *rsa.PublicKey:
common.go#L1811: case *rsa.PublicKey:
handshake_client.go#L1132: n := cert.cert.PublicKey.(*rsa.PublicKey).N.BitLen()
handshake_client.go#L1221: case *rsa.PublicKey, *ecdsa.PublicKey, ed25519.PublicKey:
handshake_server.go#L296: case *rsa.PublicKey:
handshake_server.go#L305: case *rsa.PublicKey:
handshake_server.go#L918: n := certs[i].PublicKey.(*rsa.PublicKey).N.BitLen()
handshake_server.go#L973: case *ecdsa.PublicKey, *rsa.PublicKey, ed25519.PublicKey:
handshake_server_tls13.go#L873: if rsaKey, ok := public.(*rsa.PublicKey); ok && sigType == signatureRSAPSS &&
key_agreement.go#L90: rsaKey, ok := cert.PublicKey.(*rsa.PublicKey)
tls.go#L322: case *rsa.PublicKey:
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |