gitee.com/lh-her-team/common@v1.5.1/crypto/sdf/base/types.go (about) 1 package base 2 3 type DeviceInfo struct { 4 IssuerName string 5 DeviceName string 6 DeviceSerial string 7 DeviceVersion uint 8 StandardVersion uint 9 AsymAlgAbility [2]uint 10 SymAlgAbility uint 11 HashAlgAbility uint 12 BufferSize uint 13 } 14 15 type DeviceRunStatus struct { 16 Onboot uint 17 Service uint 18 Concurrency uint 19 Memtotal uint 20 Memfree uint 21 Cpu uint 22 Reserve1 uint 23 Reserve2 uint 24 } 25 26 type ECCrefPublicKey struct { 27 Bits uint 28 X string 29 Y string 30 } 31 32 type ECCrefPrivateKey struct { 33 Bits uint 34 K string 35 } 36 37 type ECCCipher struct { 38 X string 39 Y string 40 M string 41 L uint 42 C string 43 } 44 45 type ECCSignature struct { 46 R string 47 S string 48 }