Documentation ¶
Index ¶
Constants ¶
View Source
const ( StubCertPem = `pem certificate` RootCertPem = `` /* 664-byte string literal not displayed */ IntermediateCertPem = `` /* 692-byte string literal not displayed */ LeafCertPem = `` /* 684-byte string literal not displayed */ GoogleCertPem = `` /* 729-byte string literal not displayed */ TestCertPem = `` /* 664-byte string literal not displayed */ PAACertWithNumericVid = `` /* 664-byte string literal not displayed */ PAACertWithNumericVidSubject = "MDAxGDAWBgNVBAMMD01hdHRlciBUZXN0IFBBQTEUMBIGCisGAQQBgqJ8AgEMBEZGRjE=" PAACertWithNumericVidSubjectKeyID = "6A:FD:22:77:1F:51:1F:EC:BF:16:41:97:67:10:DC:DC:31:A1:71:7E" PAACertWithNumericVidVid = 65521 PAACertWithNumericVidDifferentWhitespaces = `` /* 675-byte string literal not displayed */ PAACertNoVid = `` /* 603-byte string literal not displayed */ PAACertNoVidSubject = "MBoxGDAWBgNVBAMMD01hdHRlciBUZXN0IFBBQQ==" PAACertNoVidSubjectKeyID = "78:5C:E7:05:B8:6B:8F:4E:6F:C7:93:AA:60:CB:43:EA:69:68:82:D5" PAACertWithNumericVid1 = `` /* 664-byte string literal not displayed */ PAACertWithNumericVid1Subject = "MDAxGDAWBgNVBAMMD01hdHRlciBUZXN0IFBBQTEUMBIGCisGAQQBgqJ8AgEMBEZGRjI=" PAACertWithNumericVid1SubjectKeyID = "7F:1D:AA:F2:44:98:B9:86:68:0E:A0:8F:C1:89:21:E8:48:48:9D:17" PAACertWithNumericVid1Vid = 65522 PAICertWithNumericPidVid = `` /* 696-byte string literal not displayed */ PAICertWithNumericPidVidSubject = "MEYxGDAWBgNVBAMMD01hdHRlciBUZXN0IFBBSTEUMBIGCisGAQQBgqJ8AgEMBEZGRjExFDASBgorBgEEAYKifAICDAQ4MDAw" PAICertWithNumericPidVidSubjectKeyID = "AF:42:B7:09:4D:EB:D5:15:EC:6E:CF:33:B8:11:15:22:5F:32:52:88" PAICertWithNumericPidVidVid = 65521 PAICertWithNumericPidVidPid = 32768 PAICertWithPidVid = `` /* 631-byte string literal not displayed */ PAICertWithPidVidVid = 65522 PAICertWithPidVidPid = 32772 PAICertWithNumericVid = `` /* 635-byte string literal not displayed */ PAICertWithNumericVidVid = 65522 PAICertWithNumericVidSubject = "MDAxGDAWBgNVBAMMD01hdHRlciBUZXN0IFBBSTEUMBIGCisGAQQBgqJ8AgEMBEZGRjI=" PAICertWithNumericVidSubjectKeyID = "61:3D:D0:87:35:5E:F0:8B:AE:01:E4:C6:9A:8F:C7:3D:AC:8C:7D:FD" PAICertWithVid = `` /* 618-byte string literal not displayed */ PAICertWithVidVid = 65522 PAACertExpired = `` /* 663-byte string literal not displayed */ PAACertWithSameSubjectID1 = `` /* 1236-byte string literal not displayed */ PAACertWithSameSubjectID2 = `` /* 1252-byte string literal not displayed */ RootCertWithSameSubjectAndSKID1 = `` /* 1386-byte string literal not displayed */ RootCertWithSameSubjectAndSKID2 = `` /* 1386-byte string literal not displayed */ IntermediateWithSameSubjectAndSKID1 = `` /* 1301-byte string literal not displayed */ IntermediateWithSameSubjectAndSKID2 = `` /* 1301-byte string literal not displayed */ LeafCertWithSameSubjectAndSKID = `` /* 1199-byte string literal not displayed */ RootCertWithVid = `` /* 912-byte string literal not displayed */ IntermediateCertWithVid1 = `` /* 939-byte string literal not displayed */ IntermediateCertWithVid2 = `` /* 939-byte string literal not displayed */ IntermediateCertWithoutVidPid = `` /* 923-byte string literal not displayed */ LeafCertWithVid = `` /* 988-byte string literal not displayed */ LeafCertWithVidPid = `` /* 1028-byte string literal not displayed */ LeafCertWithoutVidPid = `` /* 976-byte string literal not displayed */ RootIssuer = "MDQxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApzb21lLXN0YXRlMRAwDgYDVQQKDAdyb290LWNh" RootSubject = "MDQxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApzb21lLXN0YXRlMRAwDgYDVQQKDAdyb290LWNh" RootSubjectAsText = "O=root-ca,ST=some-state,C=AU" RootSubjectKeyID = "5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB" RootSubjectKeyIDWithoutColumns = "5A880E6C3653D07FB08971A3F473790930E62BDB" RootSerialNumber = "442314047376310867378175982234956458728610743315" RootCertWithSameSubjectAndSKIDSubject = "" /* 180-byte string literal not displayed */ RootCertWithSameSubjectAndSKIDSubjectKeyID = "33:5E:0C:07:44:F8:B5:9C:CD:55:01:9B:6D:71:23:83:6F:D0:D4:BE" RootCertWithSameSubjectAndSKID1SerialNumber = "1" RootCertWithSameSubjectAndSKID2SerialNumber = "2" IntermediateCertWithSameSubjectAndSKIDSubject = "MEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQ=" IntermediateCertWithSameSubjectAndSKIDSubjectKeyID = "2E:13:3B:44:52:2C:30:E9:EC:FB:45:FA:5D:E5:04:0A:C1:C6:E6:B9" IntermediateCertWithSameSubjectAndSKID1SerialNumber = "3" IntermediateCertWithSameSubjectAndSKID2SerialNumber = "4" LeafCertWithSameSubjectAndSKIDSubject = "MEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQ=" LeafCertWithSameSubjectAndSKIDSubjectKeyID = "12:16:55:8E:5E:2A:DF:04:D7:E6:FE:D1:53:69:61:98:EF:17:2F:03" LeafCertWithSameSubjectAndSKIDSerialNumber = "5" IntermediateIssuer = "MDQxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApzb21lLXN0YXRlMRAwDgYDVQQKDAdyb290LWNh" IntermediateAuthorityKeyID = "5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB" IntermediateSubject = "MDwxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApzb21lLXN0YXRlMRgwFgYDVQQKDA9pbnRlcm1lZGlhdGUtY2E=" IntermediateSubjectAsText = "O=intermediate-ca,ST=some-state,C=AU" IntermediateSubjectKeyID = "4E:3B:73:F4:70:4D:C2:98:0D:DB:C8:5A:5F:02:3B:BF:86:25:56:2B" IntermediateSubjectKeyIDWithoutColumns = "4E3B73F4704DC2980DDBC85A5F023BBF8625562B" IntermediateSerialNumber = "169917617234879872371588777545667947720450185023" LeafIssuer = "MDwxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApzb21lLXN0YXRlMRgwFgYDVQQKDA9pbnRlcm1lZGlhdGUtY2E=" LeafAuthorityKeyID = "4E:3B:73:F4:70:4D:C2:98:D:DB:C8:5A:5F:02:3B:BF:86:25:56:2B" LeafSubject = "MDExCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApzb21lLXN0YXRlMQ0wCwYDVQQKDARsZWFm" LeafSubjectAsText = "O=leaf,ST=some-state,C=AU" LeafSubjectKeyID = "30:F4:65:75:14:20:B2:AF:3D:14:71:17:AC:49:90:93:3E:24:A0:1F" LeafSerialNumber = "143290473708569835418599774898811724528308722063" GoogleIssuer = "MEsxCzAJBgNVBAYTAlVTMQ8wDQYDVQQKDAZHb29nbGUxFTATBgNVBAMMDE1hdHRlciBQQUEgMTEUMBIGCisGAQQBgqJ8AgEMBDYwMDY=" GoogleAuthorityKeyID = "" GoogleSubject = "MEsxCzAJBgNVBAYTAlVTMQ8wDQYDVQQKDAZHb29nbGUxFTATBgNVBAMMDE1hdHRlciBQQUEgMTEUMBIGCisGAQQBgqJ8AgEMBDYwMDY=" GoogleSubjectAsText = "CN=Matter PAA 1,O=Google,C=US,vid=0x6006" GoogleSubjectKeyID = "B0:00:56:81:B8:88:62:89:62:80:E1:21:18:A1:A8:BE:09:DE:93:21" GoogleSerialNumber = "1" GoogleVid = 65521 TestIssuer = "MDAxGDAWBgNVBAMMD01hdHRlciBUZXN0IFBBQTEUMBIGCisGAQQBgqJ8AgEMBDEyNUQ=" TestAuthorityKeyID = "E2:90:8D:36:9C:3C:A3:C1:13:BB:09:E2:4D:C1:CC:C5:A6:66:91:D4" TestSubject = "MDAxGDAWBgNVBAMMD01hdHRlciBUZXN0IFBBQTEUMBIGCisGAQQBgqJ8AgEMBDEyNUQ=" TestSubjectAsText = "CN=Matter Test PAA,vid=0x125D" TestSubjectKeyID = "E2:90:8D:36:9C:3C:A3:C1:13:BB:09:E2:4D:C1:CC:C5:A6:66:91:D4" TestSerialNumber = "1647312298631" PAACertWithSameSubjectID1Subject = "MFoxCzAJBgNVBAYTAlVaMQwwCgYDVQQIDANUU0gxETAPBgNVBAcMCFRBU0hLRU5UMQwwCgYDVQQKDANEU1IxCzAJBgNVBAsMAkRDMQ8wDQYDVQQDDAZNQVRURVI=" PAACertWithSameSubjectID2Subject = "" /* 132-byte string literal not displayed */ PAACertWithSameSubjectIDSubjectID = "7F:C5:4C:61:A7:2A:40:02:DA:B3:73:FB:A8:A0:AC:42:2C:44:77:05" TestVID1String = "0xA13" TestPID1String = "0xA11" TestVID2String = "0xA14" TestPID2String = "0xA15" TestVID3String = "0xA16" TestPID3String = "0xA17" SubjectKeyIDWithoutColons = "5A880E6C3653D07FB08971A3F473790930E62BDB" DataDigest = "9a5d2c1f4b3e6f8d7b1a0c9e2f5d8b7" TestCertPemVid = 4701 RootCertWithVidSubject = "" /* 208-byte string literal not displayed */ RootCertWithVidSubjectKeyID = "CE:A8:92:66:EA:E0:80:BD:2B:B5:68:E4:0B:07:C4:FA:2C:34:6D:31" RootCertWithVidSubjectKeyIDWithoutColumns = "CEA89266EAE080BD2BB568E40B07C4FA2C346D31" RootCertWithVidVid = 65521 IntermediateCertWithVid1Subject = "" /* 236-byte string literal not displayed */ IntermediateCertWithVid1SubjectKeyID = "0E:8C:E8:C8:B8:AA:50:BC:25:85:56:B9:B1:9C:C2:C7:D9:C5:2F:17" IntermediateCertWithVid1SubjectKeyIDWithoutColumns = "0E8CE8C8B8AA50BC258556B9B19CC2C7D9C52F17" IntermediateCertWithVid1SerialNumber = "3" IntermediateCertWithVid1Vid = 65521 IntermediateCertWithVid2SubjectKeyID = "0E:8C:E8:C8:B8:AA:50:BC:25:85:56:B9:B1:9C:C2:C7:D9:C5:2F:17" IntermediateCertWithVid2SerialNumber = "4" IntermediateCertWithVid2Vid = 65522 IntermediateCertWithoutVidPidSubject = "" /* 180-byte string literal not displayed */ IntermediateCertWithoutVidPidSubjectKeyID = "0E:8C:E8:C8:B8:AA:50:BC:25:85:56:B9:B1:9C:C2:C7:D9:C5:2F:17" IntermediateCertWithoutVidPidSerialNumber = "14875121728167018569770528052537472929544450473" LeafCertWithVidSubject = "" /* 212-byte string literal not displayed */ LeafCertWithVidSubjectAsText = "CN=www.example.com,OU=Testing Division,O=CRL-leaf with VID,L=New York,ST=New York,C=US,vid=0xFFF1" LeafCertWithVidSubjectKeyID = "D6:98:26:10:BE:AC:23:74:09:0A:40:0B:CD:39:65:53:F1:76:B0:F5" LeafCertWithVidAuthorityKeyID = IntermediateCertWithVid1SubjectKeyID LeafCertWithVidSerialNumber = "23733396166621909643583307546615137635389084912" LeafCertWithVidVid = 65521 LeafCertWithVidPidSubject = "" /* 252-byte string literal not displayed */ LeafCertWithVidPidSubjectAsText = "CN=www.example.com,OU=Testing Division,O=CRL-leaf with VID and PID,L=New York,ST=New York,C=US,pid=0xFFF1,vid=0xFFF1" LeafCertWithVidPidSubjectKeyID = "D6:98:26:10:BE:AC:23:74:09:0A:40:0B:CD:39:65:53:F1:76:B0:F5" LeafCertWithVidPidAuthorityKeyID = IntermediateCertWithVid1SubjectKeyID LeafCertWithVidPidSerialNumber = "157838490760642822714861562571853387507185816418" LeafCertWithVidPidVid = 65521 LeafCertWithVidPidPid = 65521 LeafCertWithoutVidPidSubject = "" /* 196-byte string literal not displayed */ LeafCertWithoutVidPidSubjectAsText = "CN=www.example.com,OU=Testing Division,O=CRL-leaf without VID and PID,L=New York,ST=New York,C=US" LeafCertWithoutVidPidSubjectKeyID = "D6:98:26:10:BE:AC:23:74:09:0A:40:0B:CD:39:65:53:F1:76:B0:F5" LeafCertWithoutVidPidAuthorityKeyID = IntermediateCertWithVid1SubjectKeyID LeafCertWithoutVidPidSerialNumber = "76908939670186132114931832808683834138281370088" )
View Source
const ( NocRootCert1 = `` /* 854-byte string literal not displayed */ NocRootCert1Copy = `` /* 850-byte string literal not displayed */ NocRootCert2 = `` /* 850-byte string literal not displayed */ NocRootCert3 = `` /* 759-byte string literal not displayed */ NocCert1 = `` /* 866-byte string literal not displayed */ NocCert1Copy = `` /* 862-byte string literal not displayed */ NocCert2 = `` /* 846-byte string literal not displayed */ NocLeafCert1 = `` /* 874-byte string literal not displayed */ NocRootCert1Subject = "" /* 168-byte string literal not displayed */ NocRootCert1SubjectKeyID = "44:EB:4C:62:6B:25:48:CD:A2:B3:1C:87:41:5A:08:E7:2B:B9:83:26" NocRootCert1SerialNumber = "47211865327720222621302679792296833381734533449" NocRootCert1SubjectAsText = "CN=NOC-1,OU=Testing Division,O=Example Company,L=Tashkent,ST=Some State,C=UZ" NocRootCert1CopySubject = "" /* 168-byte string literal not displayed */ NocRootCert1CopySubjectKeyID = "44:EB:4C:62:6B:25:48:CD:A2:B3:1C:87:41:5A:08:E7:2B:B9:83:26" NocRootCert1CopySerialNumber = "460647353168152946606945669687905527879095841977" NocRootCert1CopySubjectAsText = "CN=NOC-1,OU=Testing Division,O=Example Company,L=Tashkent,ST=Some State,C=UZ" NocRootCert2Subject = "" /* 168-byte string literal not displayed */ NocRootCert2SubjectKeyID = "CF:E6:DD:37:2B:4C:B2:B9:A9:F2:75:30:1C:AA:B1:37:1B:11:7F:1B" NocRootCert2SerialNumber = "332802481233145945539125204504842614737181725760" NocRootCert2SubjectAsText = "CN=NOC-2,OU=Testing Division,O=Example Company,L=Tashkent,ST=Some State,C=UZ" NocRootCert3Subject = "MFUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxDjAMBgNVBAMMBU5PQy0z" NocRootCert3SubjectKeyID = "88:0D:06:D9:64:22:29:34:78:7F:8C:3B:AE:F5:08:93:86:8F:0D:20" NocRootCert3SerialNumber = "38457288443253426021793906708335409501754677187" NocRootCert3SubjectAsText = "CN=NOC-3,O=Internet Widgits Pty Ltd,ST=Some-State,C=AU" NocCert1Subject = "" /* 180-byte string literal not displayed */ NocCert1Issuer = NocRootCert1Subject NocCert1SubjectKeyID = "02:72:6E:BC:BB:EF:D6:BD:8D:9B:42:AE:D4:3C:C0:55:5F:66:3A:B3" NocCert1SerialNumber = "631388393741945881054190991612463928825155142122" NocCert1SubjectAsText = "CN=NOC-child-1,OU=Testing Division,O=Example Company,L=Some State,ST=Some State,C=UZ" NocCert1CopySubject = "" /* 180-byte string literal not displayed */ NocCert1CopyIssuer = NocRootCert1Subject NocCert1CopySubjectKeyID = "02:72:6E:BC:BB:EF:D6:BD:8D:9B:42:AE:D4:3C:C0:55:5F:66:3A:B3" NocCert1CopySerialNumber = "169445068204646961882009388640343665944683778293" NocCert1CopySubjectAsText = "CN=NOC-child-1,OU=Testing Division,O=Example Company,L=Some State,ST=Some State,C=UZ" NocCert2Subject = "" /* 180-byte string literal not displayed */ NocCert2Issuer = NocRootCert2Subject NocCert2SubjectKeyID = "87:48:A2:33:12:1F:51:5C:93:E6:90:40:4A:2C:AB:9E:D6:19:E5:AD" NocCert2SerialNumber = "361372967010167010646904372658654439710639340814" NocCert2SubjectAsText = "CN=NOC-child-2,OU=Testing Division,O=Example Company,L=Some State,ST=Some State,C=UZ" NocLeafCert1Subject = "" /* 176-byte string literal not displayed */ NocLeafCert1Issuer = NocCert1Subject NocLeafCert1SubjectKeyID = "77:1F:DB:C4:4C:B1:29:7E:3C:EB:3E:D8:2A:38:0B:63:06:07:00:01" NocLeafCert1SerialNumber = "281347277961838999749763518155363401757954575313" NocLeafCert1SubjectAsText = "CN=NOC-leaf-1,OU=Testing Division,O=Example Company,L=Some State,ST=Some State,C=UZ" )
Variables ¶
View Source
var ( // Base constants. JackAccount = "jack" AliceAccount = "alice" BobAccount = "bob" AnnaAccount = "anna" ChainID = "dclchain" AccountName = JackAccount Passphrase = "test1234" EmptyString = "" // Model Info. Vid int32 = 1 VendorName = "Vendor Name" CompanyLegalName = "Legal Company Name" CompanyPreferredName = "Company Preferred Name" VendorLandingPageURL = "https://www.example.com" Pid int32 = 22 DeviceTypeID int32 = 12345 Version = "1.0" ProductName = "Device Name" ProductLabel = "Product Label and/or Product Description" PartNumber = "RCU2205A" SoftwareVersion uint32 = 1 SoftwareVersionString = "1.0" HardwareVersion uint32 = 21 HardwareVersionString = "2.1" CdVersionNumber int32 = 312 FirmwareInformation = "Firmware Information String" Revoked = false SoftwareVersionValid = true OtaURL = "https://ota.firmware.com" OtaFileSize uint64 = 12345678 OtaChecksum = "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12" //nolint:lll OtaChecksumType int32 = 1 OtaBlob = "OTABlob Text" CommissioningCustomFlow int32 = 1 CommissioningCustomFlowURL = "https://sampleflowurl.dclmodel" CommissioningModeInitialStepsHint uint32 = 2 CommissioningModeInitialStepsInstruction = "commissioningModeInitialStepsInstruction details" CommissioningModeSecondaryStepsHint uint32 = 3 CommissioningModeSecondaryStepsInstruction = "commissioningModeSecondaryStepsInstruction steps" ReleaseNotesURL = "https://url.releasenotes.dclmodel" UserManualURL = "https://url.usermanual.dclmodel" SupportURL = "https://url.supporturl.dclmodel" ProductURL = "https://url.producturl.dclmodel" EnhancedSetupFlowTCURL = "https://url.enhansedsetupflowurl.dclmodel" EnhancedSetupFlowTCRevision = 1 EnhancedSetupFlowTCDigest = "MmNmMjRkYmE1ZmIwYTMwZTI2ZTgzYjJhYzViOWUyOWUxYjE2MWU1YzFmYTc0MjVlNzMwNDMzNjI5MzhiOTgyNA==" EnhancedSetupFlowTCFileSize = 1 MaintenanceURL = "https://url.maintenanceurl.dclmodel" CommissioningFallbackURL = "https://url.commissioningfallbackurl.dclmodel" DiscoveryCapabilitiesBitmask uint32 = 0 LsfURL = "https://url.lsfurl.dclmodel" DataURL = "https://url.data.dclmodel" DataURL2 = "https://url.data.dclmodel2" URLWithoutProtocol = "url.dclmodel" LsfRevision int32 = 1 EnhancedSetupFlowOptions int32 = 1 EmptyLsfRevision int32 ChipBlob = "Chip Blob Text" VendorBlob = "Vendor Blob Text" MinApplicableSoftwareVersion uint32 = 1 MaxApplicableSoftwareVersion uint32 = 1000 Owner = Address1 Info = "Information for Proposal/Approval/Revoke" Info2 = "Alternate Text 2 for Information for Proposal/Approval" Info3 = "Alternate Text 3 for Information for Proposal/Approval" Time int64 = 1645809254 Time2 int64 = 1645809261 Time3 int64 = 1645809278 // Compliance. ProvisionalDate = "2019-12-12T00:00:00Z" CertificationDate = "2020-01-01T00:00:00Z" RevocationDate = "2020-03-03T03:30:00Z" Reason = "Some Reason" RevocationReason = "Some Reason" CertificationType = "zigbee" CDCertificateID = "15DEXF" FamilyID = "Some Family ID" SupportedClusters = "Some Supported Clusters" CompliantPlatformUsed = "Some Compliance Platform Used" CompliantPlatformVersion = "Some Compliance Platform Version" OSVersion = "Some OS Version" CertificationRoute = "Some Certification Route" ProgramType = "Some Program Type" ProgramTypeVersion = "Some Program Type Version" Transport = "Some Transport" SoftwareVersionCertificationStatus = uint32(3) ParentChild1 = "parent" ParentChild2 = "child" CertificationIDOfSoftwareComponent = "some certification ID of software component" FirstJanuary = "2020-01-01T00:00:01Z" // Testing Result. TestResult = "http://test.result.com" TestDate = "2020-02-02T02:00:00Z" // Upgrade. UpgradePlanName = "TestUpgrade" UpgradePlanHeight int64 = 1337 UpgradePlanInfo = "Some upgrade info" // Address1, _ = sdk.AccAddressFromBech32("cosmos1s5xf3aanx7w84hgplk9z3l90qfpantg6nsmhpf") Address2, _ = sdk.AccAddressFromBech32("cosmos1nl4uaesk9gtu7su3n89lne6xpa6lq8gljn79rq") Address3, _ = sdk.AccAddressFromBech32("cosmos12r9vsus5js32pvnayt33zhcd4y9wcqcly45gr9") Address4, _ = sdk.AccAddressFromBech32("cosmos1vvwldfef3yuggm7ge9p34d6dvpz5s74nus6n7g") VendorID1 int32 = 1000 VendorID2 int32 = 2000 VendorID3 int32 = 3000 VendorID4 int32 = 4000 ProductIDsEmpty []*types.Uint16Range ProductIDsFull = append([]*types.Uint16Range{}, &types.Uint16Range{Min: 1, Max: 65535}) ProductIDs100 = append([]*types.Uint16Range{}, &types.Uint16Range{Min: 1, Max: 100}) ProductIDs200 = append([]*types.Uint16Range{}, &types.Uint16Range{Min: 1, Max: 100}, &types.Uint16Range{Min: 101, Max: 200}) PubKey1 = strToPubKey( `{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Aw1XXHQ8i6JVNKsFQ9eQArJVt2GXEO0EBFsQL6XJ5BxY"}`, defEncConfig.Codec, ) PubKey2 = strToPubKey( `{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A2wJ7uOEE5Zm04K52czFTXfDj1qF2mholzi1zOJVlKlr"}`, defEncConfig.Codec, ) PubKey3 = strToPubKey( `{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A0GnKr6hItYE1A7dzoxNSMwMZuu1zauOLWAqJWen1RzF"}`, defEncConfig.Codec, ) PubKey4 = strToPubKey( `{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AnQC2MkMN1TOQyAJ0zjakPDcak+5FLtEoL4yBsgFO8Xe"}`, defEncConfig.Codec, ) Signer = Address1 ValidatorPubKey1 = strToPubKey( `{"@type":"/cosmos.crypto.ed25519.PubKey","key":"1e+1/jHGaJi0b2zgCN46eelKCYpKiuTgPN18mL3fzx8="}`, defEncConfig.Codec, ) ValidatorPubKey2 = strToPubKey( `{"@type":"/cosmos.crypto.ed25519.PubKey","key":"NB8hcdxKYDCaPWR67OiUXUSltZfYYOWYryPDUdbWRlA="}`, defEncConfig.Codec, ) ValidatorAddress1 = "cosmosvaloper156dzj776tf3lmsahgmtnrphflaqf7n58kug5qe" ValidatorAddress2 = "cosmosvaloper12tg2p3rjsaczddufmsjjrw9nvhg8wkc4hcz3zw" ValidHTTPSURL = "https://valid.url.com" ValidHTTPURL = "http://valid.url.com" NotAValidURL = "not a valid url" // CertSchemaVersion schema version of certificate. CertSchemaVersion uint32 // SchemaVersion initial default value. SchemaVersion uint32 )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.