Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 269 for san1 (0.17 sec)

  1. src/encoding/asn1/marshal_test.go

    type optionalRawValueTest struct {
    	A RawValue `asn1:"optional"`
    }
    
    type omitEmptyTest struct {
    	A []string `asn1:"omitempty"`
    }
    
    type defaultTest struct {
    	A int `asn1:"optional,default:1"`
    }
    
    type applicationTest struct {
    	A int `asn1:"application,tag:0"`
    	B int `asn1:"application,tag:1,explicit"`
    }
    
    type privateTest struct {
    	A int `asn1:"private,tag:0"`
    	B int `asn1:"private,tag:1,explicit"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 10K bytes
    - Viewed (0)
  2. src/crypto/x509/parser_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package x509
    
    import (
    	"encoding/asn1"
    	"testing"
    
    	cryptobyte_asn1 "golang.org/x/crypto/cryptobyte/asn1"
    )
    
    func TestParseASN1String(t *testing.T) {
    	tests := []struct {
    		name        string
    		tag         cryptobyte_asn1.Tag
    		value       []byte
    		expected    string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 17:18:21 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. src/crypto/x509/sec1.go

    // most cases it is not.
    type ecPrivateKey struct {
    	Version       int
    	PrivateKey    []byte
    	NamedCurveOID asn1.ObjectIdentifier `asn1:"optional,explicit,tag:0"`
    	PublicKey     asn1.BitString        `asn1:"optional,explicit,tag:1"`
    }
    
    // ParseECPrivateKey parses an EC private key in SEC 1, ASN.1 DER form.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unmarshal/unmarshal.go

    		recv := fn.Type().(*types.Signature).Recv()
    		if fn.Name() == "Unmarshal" && recv == nil {
    			// "encoding/json".Unmarshal
    			// "encoding/xml".Unmarshal
    			// "encoding/asn1".Unmarshal
    			switch fn.Pkg().Path() {
    			case "encoding/json", "encoding/xml", "encoding/asn1":
    				argidx = 1 // func([]byte, interface{})
    			}
    		} else if fn.Name() == "Decode" && recv != nil {
    			// (*"encoding/json".Decoder).Decode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. releasenotes/notes/auto-san-validation.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: security
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Dec 17 08:16:47 UTC 2023
    - 196 bytes
    - Viewed (0)
  6. src/crypto/x509/pkcs1.go

    	var priv pkcs1PrivateKey
    	rest, err := asn1.Unmarshal(der, &priv)
    	if len(rest) > 0 {
    		return nil, asn1.SyntaxError{Msg: "trailing data"}
    	}
    	if err != nil {
    		if _, err := asn1.Unmarshal(der, &ecPrivateKey{}); err == nil {
    			return nil, errors.New("x509: failed to parse private key (use ParseECPrivateKey instead for this key format)")
    		}
    		if _, err := asn1.Unmarshal(der, &pkcs8{}); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. releasenotes/notes/dr-san-validation.yaml

    John Howard <******@****.***> 1662658353 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 08 17:32:33 UTC 2022
    - 357 bytes
    - Viewed (0)
  8. src/cmd/fix/import_test.go

    		Fn:   rewriteImportFn("asn1", "encoding/asn1"),
    		In: `package main
    
    import (
    	"asn1"
    	"crypto"
    	"crypto/rsa"
    	_ "crypto/sha1"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"time"
    )
    
    var x = 1
    `,
    		Out: `package main
    
    import (
    	"crypto"
    	"crypto/rsa"
    	_ "crypto/sha1"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/asn1"
    	"time"
    )
    
    var x = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/img/xctest-task-graph.dot

    // limitations under the License.
    
    // dot -Tpng src/docs/userguide/img/xctest-task-graph.dot > src/docs/userguide/img/xctest-task-graph.png
    digraph xctestTaskGraph {
      graph [ dpi = 100, fontname="Sans"];
      node [fontname = "Sans"];
      edge [fontname = "Sans"];
      node [shape=rectangle, fixedsize=true, width=2.5, height=0.5];
      node [style=filled, fillcolor="#cfe2f3"]
      rankdir=LR
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/img/cpp-shared-library-task-graph.dot

    // dot -Tpng src/docs/userguide/img/cpp-shared-library-task-graph.dot > src/docs/userguide/img/cpp-shared-library-task-graph.png
    digraph cppSharedLibraryTaskGraph {
      graph [ dpi = 100, fontname="Sans"];
      node [fontname = "Sans"];
      edge [fontname = "Sans"];
      node [shape=rectangle, fixedsize=true, width=2.5, height=0.5];
      node [style=filled, fillcolor="#cfe2f3"]
      rankdir=LR
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top