Home | History | Annotate | Download | only in x509

Lines Matching refs:unmarshal

40 	if rest, err := asn1.Unmarshal(derBytes, &pki); err != nil {
668 if rest, err := asn1.Unmarshal(signature, dsaSig); err != nil {
682 if rest, err := asn1.Unmarshal(signature, ecdsaSig); err != nil {
754 rest, err := asn1.Unmarshal(asn1Data, p)
776 rest, err := asn1.Unmarshal(asn1Data, &p)
785 rest, err = asn1.Unmarshal(paramsData, params)
807 rest, err := asn1.Unmarshal(paramsData, namedCurveOID)
818 x, y := elliptic.Unmarshal(namedCurve, asn1Data)
820 return nil, errors.New("x509: failed to unmarshal elliptic curve point")
852 if rest, err = asn1.Unmarshal(value, &seq); err != nil {
866 rest, err = asn1.Unmarshal(rest, &v)
917 if rest, err := asn1.Unmarshal(in.TBSCertificate.Subject.FullBytes, &subject); err != nil {
922 if rest, err := asn1.Unmarshal(in.TBSCertificate.Issuer.FullBytes, &issuer); err != nil {
943 if rest, err := asn1.Unmarshal(e.Value, &usageBits); err != nil {
960 if rest, err := asn1.Unmarshal(e.Value, &constraints); err != nil {
999 if rest, err := asn1.Unmarshal(e.Value, &constraints); err != nil {
1034 if rest, err := asn1.Unmarshal(e.Value, &cdp); err != nil {
1042 if _, err := asn1.Unmarshal(dp.DistributionPoint.FullName.Bytes, &n); err != nil {
1057 if rest, err := asn1.Unmarshal(e.Value, &a); err != nil {
1074 if rest, err := asn1.Unmarshal(e.Value, &keyUsage); err != nil {
1091 if rest, err := asn1.Unmarshal(e.Value, &keyid); err != nil {
1101 if rest, err := asn1.Unmarshal(e.Value, &policies); err != nil {
1118 if rest, err := asn1.Unmarshal(e.Value, &aia); err != nil {
1151 rest, err := asn1.Unmarshal(asn1Data, &cert)
1170 asn1Data, err = asn1.Unmarshal(asn1Data, cert)
1628 if rest, err := asn1.Unmarshal(derBytes, certList); err != nil {
1759 rest, err := asn1.Unmarshal(b, &rawAttributes)
1774 rest, err := asn1.Unmarshal(rawAttr.FullBytes, &attr)
1945 rest, err := asn1.Unmarshal(asn1Data, &csr)
1978 if rest, err := asn1.Unmarshal(in.TBSCSR.Subject.FullBytes, &subject); err != nil {