func encoding/asn1.Marshal
40 uses
encoding/asn1 (current package)
marshal.go#L730: func Marshal(val any) ([]byte, error) {
crypto/x509
pkcs1.go#L131: b, _ := asn1.Marshal(priv)
pkcs1.go#L168: derBytes, _ := asn1.Marshal(pkcs1PublicKey{
pkcs8.go#L117: oidBytes, err := asn1.Marshal(oid)
pkcs8.go#L135: curvePrivateKey, err := asn1.Marshal(k.Seed())
pkcs8.go#L147: if privKey.PrivateKey, err = asn1.Marshal(k.Bytes()); err != nil {
pkcs8.go#L155: oidBytes, err := asn1.Marshal(oid)
pkcs8.go#L174: return asn1.Marshal(privKey)
sec1.go#L62: return asn1.Marshal(ecPrivateKey{
sec1.go#L73: return asn1.Marshal(ecPrivateKey{
x509.go#L87: publicKeyBytes, err = asn1.Marshal(pkcs1PublicKey{
x509.go#L109: paramBytes, err = asn1.Marshal(oid)
x509.go#L128: paramBytes, err = asn1.Marshal(oid)
x509.go#L167: ret, _ := asn1.Marshal(pkix)
x509.go#L1100: return asn1.Marshal(rawValues)
x509.go#L1148: ret[n].Value, err = asn1.Marshal(subjectKeyId)
x509.go#L1157: ret[n].Value, err = asn1.Marshal(authKeyId{authorityKeyId})
x509.go#L1180: ret[n].Value, err = asn1.Marshal(aiaValues)
x509.go#L1325: ret[n].Value, err = asn1.Marshal(crlDp)
x509.go#L1353: ext.Value, err = asn1.Marshal(asn1.BitString{Bytes: bitString, BitLength: asn1BitLength(bitString)})
x509.go#L1372: ext.Value, err = asn1.Marshal(oids)
x509.go#L1385: ext.Value, err = asn1.Marshal(basicConstraints{isCA, maxPathLen})
x509.go#L1445: return asn1.Marshal(cert.Subject.ToRDNSequence())
x509.go#L1687: tbsCertContents, err := asn1.Marshal(c)
x509.go#L1698: return asn1.Marshal(certificate{
x509.go#L1777: aki.Value, err = asn1.Marshal(authKeyId{Id: c.SubjectKeyId})
x509.go#L1784: tbsCertListContents, err := asn1.Marshal(tbsCertList)
x509.go#L1795: return asn1.Marshal(pkix.CertificateList{
x509.go#L1872: b, err := asn1.Marshal(attributes)
x509.go#L2051: b, err := asn1.Marshal(attr)
x509.go#L2066: asn1Subject, err = asn1.Marshal(template.Subject.ToRDNSequence())
x509.go#L2085: tbsCSRContents, err := asn1.Marshal(tbsCSR)
x509.go#L2096: return asn1.Marshal(certificateRequest{
x509.go#L2372: reasonBytes, err := asn1.Marshal(asn1.Enumerated(rce.ReasonCode))
x509.go#L2390: aki, err := asn1.Marshal(authKeyId{Id: issuer.SubjectKeyId})
x509.go#L2398: crlNum, err := asn1.Marshal(template.Number)
x509.go#L2434: tbsCertListContents, err := asn1.Marshal(tbsCertList)
x509.go#L2448: return asn1.Marshal(certificateList{
crypto/x509/pkix
pkix.go#L55: derBytes, err := asn1.Marshal(tv.Value)
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L218: bytes, err := encoding_asn1.Marshal(v)
 |
The pages are generated with Golds v0.7.6. (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. |