Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ClassUniversal (0.15 sec)

  1. security/pkg/pki/util/san.go

    		return nil, fmt.Errorf("the SAN extension is incorrectly encoded")
    	}
    
    	// Check the rawValue is a sequence.
    	if !sequence.IsCompound || sequence.Tag != asn1.TagSequence || sequence.Class != asn1.ClassUniversal {
    		return nil, fmt.Errorf("the SAN extension is incorrectly encoded")
    	}
    
    	ids := []Identity{}
    	for bytes := sequence.Bytes; len(bytes) > 0; {
    		var rawValue asn1.RawValue
    		var err error
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 14 06:50:22 UTC 2022
    - 6K bytes
    - Viewed (0)
  2. src/encoding/asn1/common.go

    	TagIA5String       = 22
    	TagUTCTime         = 23
    	TagGeneralizedTime = 24
    	TagGeneralString   = 27
    	TagBMPString       = 30
    )
    
    // ASN.1 class types represent the namespace of the tag.
    const (
    	ClassUniversal       = 0
    	ClassApplication     = 1
    	ClassContextSpecific = 2
    	ClassPrivate         = 3
    )
    
    type tagAndLength struct {
    	class, tag, length int
    	isCompound         bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 5.5K bytes
    - Viewed (0)
Back to top