我正在为IP摄像机自动激活激活,但我很烦恼:摄像机吐出JSON进行加密-类似于:
{ {"params":{"asymmetric":"RSA","cipher":["AES","RPAC"],"pub":"N:CD1C1ECB40E9BD8E04FDB6515A892E03DF007ABF107A829C10B08D267EBA1A11811356C20F28D204B5412B0F6E1C254F85D9A59322CFE57A12A9E12B2944752C20F54A6D7D59853E745F7C30C3D7D806B87747F7F559A99B7C69A7E41A538B62A1DB1723631974F766C061982852FF7FB3A15E824E28BEC63DF9B0F7354F5DC29986D736DDD16AC2D82661D203BA637E544E9F0EDC7B271C6D9BE87BDA8D43416B36D66E00BBD4EB34E3306090E1BD3493990919CEBA937B456C468393A207C73562E584E50C16CB06C394351D34C0EBA51D4135C8FD993948CADF6C6810B91BC8F8FE713CDA917CD7EA49E1A927CA130F258F05B056EB5C009E21446A9D4D07,E:010001"},"result":true}
...,我需要从那些N和E值转到openssl可以使用的公共证书,以便我可以对新的管理员凭据进行编码以发送回相机。有想法吗?