diff --git a/src/App.tsx b/src/App.tsx index e53906b..993b06f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -7,7 +7,7 @@ import { sm2GenerateKeyPair, sm2GetPublicKeyFromPrivateKey, sm2Encrypt, sm2Decry import { parseSm2Cert, parseCertFromFile, generateRootCert, generateAppCert, generateCrlFile, loadRootPrivateKeyFromCache } from './utils/algorithm/cert' import { hexToUtf8, utf8ToHex, hexToBase64, base64ToHex } from './utils/convert' import { getInfoFromPKCS7, verifyPKCS7 } from './utils/crypto.js' -import { extractCertificate, extractCertificateFromText } from './utils/extract-cert.js' +import { extractCertificate } from './utils/extract-cert' function App() { // 从localStorage读取当前分类,默认sm3 @@ -1574,7 +1574,7 @@ function App() { transition: 'background 0.3s ease' }} > - Hex ← Base64 + Base64 → Hex @@ -1618,7 +1618,7 @@ function App() { transition: 'background 0.3s ease' }} > - Hex ← Base64 + Base64 ← Hex @@ -1887,8 +1887,8 @@ function App() { {/* 生成 CRL 文件 */} -
-

3. 生成 CRL 文件

+
+

3. 生成 CRL 文件