- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for BinaryMarshaler (0.31 sec)
-
src/crypto/x509/oid.go
if !ok { return errInvalidOID } der = appendBase128BigInt(der, b) } o.der = der return nil } // MarshalBinary implements [encoding.BinaryMarshaler] func (o OID) MarshalBinary() ([]byte, error) { return bytes.Clone(o.der), nil } // UnmarshalBinary implements [encoding.BinaryUnmarshaler] func (o *OID) UnmarshalBinary(b []byte) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 19:10:38 UTC 2024 - 8.3K bytes - Viewed (0) -
src/crypto/sha512/sha512.go
// Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 // hash algorithms as defined in FIPS 180-4. // // All the hash.Hash implementations returned by this package also // implement encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to // marshal and unmarshal the internal state of the hash. package sha512 import ( "crypto" "crypto/internal/boring" "errors" "hash" "internal/byteorder" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:50:58 UTC 2024 - 9.2K bytes - Viewed (0)