- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for RawValue (0.3 sec)
-
security/pkg/pki/util/san.go
} ids := []Identity{} for bytes := sequence.Bytes; len(bytes) > 0; { var rawValue asn1.RawValue var err error bytes, err = asn1.Unmarshal(bytes, &rawValue) if err != nil { return nil, err } ids = append(ids, Identity{Type: identityTypeMap[rawValue.Tag], Value: rawValue.Bytes}) } return ids, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Oct 14 06:50:22 UTC 2022 - 6K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ParseRequest.java
/** A string to be parsed as a number and the radix to interpret it in. */ @GwtCompatible @ElementTypesAreNonnullByDefault final class ParseRequest { final String rawValue; final int radix; private ParseRequest(String rawValue, int radix) { this.rawValue = rawValue; this.radix = radix; } static ParseRequest fromString(String stringValue) { if (stringValue.length() == 0) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 22 13:09:25 UTC 2021 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ParseRequest.java
/** A string to be parsed as a number and the radix to interpret it in. */ @GwtCompatible @ElementTypesAreNonnullByDefault final class ParseRequest { final String rawValue; final int radix; private ParseRequest(String rawValue, int radix) { this.rawValue = rawValue; this.radix = radix; } static ParseRequest fromString(String stringValue) { if (stringValue.length() == 0) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 22 13:09:25 UTC 2021 - 1.7K bytes - Viewed (0) -
src/runtime/debug/mod.go
key, _ = strconv.Unquote(rawKey) rawValue = kv[len(rawKey)+1:] default: var ok bool key, rawValue, ok = strings.Cut(kv, "=") if !ok { return nil, fmt.Errorf("build line missing '=' after key") } if quoteKey(key) { return nil, fmt.Errorf("unquoted key %q must be quoted", key) } } var value string if len(rawValue) > 0 { switch rawValue[0] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 15:06:51 UTC 2023 - 7.6K bytes - Viewed (1) -
src/crypto/x509/x509.go
if err != nil { return nil, errors.New("x509: failed to serialise extensions attribute: " + err.Error()) } var rawValue asn1.RawValue if _, err := asn1.Unmarshal(b, &rawValue); err != nil { return nil, err } rawAttributes = append(rawAttributes, rawValue) } asn1Subject := template.RawSubject if len(asn1Subject) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:20:15 UTC 2024 - 82K bytes - Viewed (0) -
src/encoding/asn1/asn1_test.go
want string }{ {b: []byte{0x05, 0x00}, v: nil, want: "asn1: Unmarshal recipient value is nil"}, {b: []byte{0x05, 0x00}, v: RawValue{}, want: "asn1: Unmarshal recipient value is non-pointer asn1.RawValue"}, {b: []byte{0x05, 0x00}, v: (*RawValue)(nil), want: "asn1: Unmarshal recipient value is nil *asn1.RawValue"}, } for _, test := range tests { _, err := Unmarshal(test.b, test.v) if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 29 18:24:36 UTC 2023 - 43.6K bytes - Viewed (0) -
src/crypto/x509/pkcs8.go
if err != nil { return nil, errors.New("x509: failed to marshal curve OID: " + err.Error()) } privKey.Algo = pkix.AlgorithmIdentifier{ Algorithm: oidPublicKeyECDSA, Parameters: asn1.RawValue{ FullBytes: oidBytes, }, } if privKey.PrivateKey, err = marshalECPrivateKeyWithOID(k, nil); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 5.8K bytes - Viewed (0) -
src/encoding/asn1/asn1.go
return } ret.BitLength = (len(bytes)-1)*8 - paddingBits ret.Bytes = bytes[1:] return } // NULL // NullRawValue is a [RawValue] with its Tag set to the ASN.1 NULL type tag (5). var NullRawValue = RawValue{Tag: TagNull} // NullBytes contains bytes representing the DER-encoded ASN.1 NULL type. var NullBytes = []byte{TagNull, 0} // OBJECT IDENTIFIER
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 31.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/AbstractStyledTextOutputTest.groovy
when: output.text(null) then: output.value == 'null' } def writesEndOfLine() { when: output.println() then: output.rawValue == SystemProperties.instance.lineSeparator } def appendsCharacter() { when: output.append('c' as char) then: output.value == 'c' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 4.1K bytes - Viewed (0) -
src/encoding/asn1/marshal_test.go
A string `asn1:"ia5"` } type printableStringTest struct { A string `asn1:"printable"` } type genericStringTest struct { A string } 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 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 10K bytes - Viewed (0)