encoding/pem.Block.Bytes (field)
16 uses
encoding/pem (current package)
pem.go#L32: Bytes []byte // The decoded bytes of the contents. Typically a DER encoded ASN.1 structure.
pem.go#L171: p.Bytes = make([]byte, base64.StdEncoding.DecodedLen(len(base64Data)))
pem.go#L172: n, err := base64.StdEncoding.Decode(p.Bytes, base64Data)
pem.go#L176: p.Bytes = p.Bytes[:n]
pem.go#L292: if _, err := b64.Write(b.Bytes); err != nil {
crypto/tls
tls.go#L257: cert.Certificate = append(cert.Certificate, certDERBlock.Bytes)
tls.go#L299: cert.PrivateKey, err = parsePrivateKey(keyDERBlock.Bytes)
crypto/x509
cert_pool.go#L218: certBytes := block.Bytes
pem_decrypt.go#L155: if len(b.Bytes)%block.BlockSize() != 0 {
pem_decrypt.go#L159: data := make([]byte, len(b.Bytes))
pem_decrypt.go#L161: dec.CryptBlocks(data, b.Bytes)
pem_decrypt.go#L230: Bytes: encrypted,
x509.go#L1687: crlBytes = block.Bytes
github.com/gotd/td/internal/crypto
public_keys.go#L21: key, err := ParseRSA(block.Bytes)
github.com/gotd/td/telegram
cdn.go#L22: key, err := crypto.ParseRSA(block.Bytes)
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |