Home | History | Annotate | Download | only in x509

Lines Matching refs:asn1

17 	"encoding/asn1"
196 // It's never been documented that asn1.Marshal/Unmarshal on rsa.PublicKey works,
199 derBytes2, err := asn1.Marshal(*pub)
206 rest, err := asn1.Unmarshal(derBytes, pub3)
270 // On 64-bit systems, encoding/asn1 will accept the
272 // an error. On 32-bit systems, encoding/asn1 will
515 testUnknownExtKeyUsage := []asn1.ObjectIdentifier{[]int{1, 2, 3}, []int{2, 59, 1}}
564 PolicyIdentifiers: []asn1.ObjectIdentifier{[]int{1, 2, 3}},
1314 Id asn1.ObjectIdentifier
1695 {Type: asn1.ObjectIdentifier([]int{2, 5, 4, 3}), Value: "bar.com"}},
1700 {Type: asn1.ObjectIdentifier([]int{1, 2, 3, 4, 5}), Value: "golang.org"}},