func encoding/asn1.Marshal
37 uses
encoding/asn1 (current package)
marshal.go#L733: func Marshal(val interface{}) ([]byte, error) {
crypto/x509
pkcs1.go#L131: b, _ := asn1.Marshal(priv)
pkcs1.go#L168: derBytes, _ := asn1.Marshal(pkcs1PublicKey{
pkcs8.go#L105: oidBytes, err := asn1.Marshal(oid)
pkcs8.go#L125: curvePrivateKey, err := asn1.Marshal(k.Seed())
pkcs8.go#L135: return asn1.Marshal(privKey)
sec1.go#L56: return asn1.Marshal(ecPrivateKey{
x509.go#L76: publicKeyBytes, err = asn1.Marshal(pkcs1PublicKey{
x509.go#L95: paramBytes, err = asn1.Marshal(oid)
x509.go#L135: ret, _ := asn1.Marshal(pkix)
x509.go#L1675: return asn1.Marshal(rawValues)
x509.go#L1721: ret[n].Value, err = asn1.Marshal(subjectKeyId)
x509.go#L1730: ret[n].Value, err = asn1.Marshal(authKeyId{authorityKeyId})
x509.go#L1753: ret[n].Value, err = asn1.Marshal(aiaValues)
x509.go#L1897: ret[n].Value, err = asn1.Marshal(crlDp)
x509.go#L1925: ext.Value, err = asn1.Marshal(asn1.BitString{Bytes: bitString, BitLength: asn1BitLength(bitString)})
x509.go#L1947: ext.Value, err = asn1.Marshal(oids)
x509.go#L1963: ext.Value, err = asn1.Marshal(basicConstraints{isCA, maxPathLen})
x509.go#L1977: ext.Value, err = asn1.Marshal(policies)
x509.go#L2008: return asn1.Marshal(cert.Subject.ToRDNSequence())
x509.go#L2206: tbsCertContents, err := asn1.Marshal(c)
x509.go#L2233: signedCert, err := asn1.Marshal(certificate{
x509.go#L2323: aki.Value, err = asn1.Marshal(authKeyId{Id: c.SubjectKeyId})
x509.go#L2330: tbsCertListContents, err := asn1.Marshal(tbsCertList)
x509.go#L2348: return asn1.Marshal(pkix.CertificateList{
x509.go#L2425: b, err := asn1.Marshal(attributes)
x509.go#L2598: b, err := asn1.Marshal(attr)
x509.go#L2613: asn1Subject, err = asn1.Marshal(template.Subject.ToRDNSequence())
x509.go#L2632: tbsCSRContents, err := asn1.Marshal(tbsCSR)
x509.go#L2651: return asn1.Marshal(certificateRequest{
x509.go#L2802: aki, err := asn1.Marshal(authKeyId{Id: issuer.SubjectKeyId})
x509.go#L2806: crlNum, err := asn1.Marshal(template.Number)
x509.go#L2836: tbsCertListContents, err := asn1.Marshal(tbsCertList)
x509.go#L2860: return asn1.Marshal(pkix.CertificateList{
crypto/x509/pkix
pkix.go#L55: derBytes, err := asn1.Marshal(tv.Value)
golang.org/x/crypto/ssh
ssh_gss.go#L15: krb5OID, _ = asn1.Marshal(krb5Mesh)
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L205: bytes, err := encoding_asn1.Marshal(v)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |