Skip to main content
Glama

yop-mcp

by yop-platform

yeepay_yop_parse_certificates

Extract Base64-encoded public or private keys from certificate files (.pfx or .cer) using specified algorithms (RSA or SM2). Supports optional password input for .pfx files and returns parsed results in a structured dictionary format.

Instructions

根据证书文件解析出Base64编码后的公钥或私钥字符串

Args: algorithm (str): 密钥算法,可选值为 "RSA" 或 "SM2",默认为 "RSA" pfx_cert (str): 私钥证书(.pfx)文件路径 pub_cert (str): 公钥证书(.cer)文件路径 pwd (str, optional): PFX证书的密码,默认为None

Returns: dict: 包含解析结果的字典,格式如下: { 'message': 响应信息, 'privateKey': Base64编码后的私钥字符串, 'publicKey': Base64编码后的公钥字符串 }

Input Schema

NameRequiredDescriptionDefault
algorithmNoRSA
pfx_certNo
pub_certNo
pwdNo

Input Schema (JSON Schema)

{ "properties": { "algorithm": { "default": "RSA", "title": "Algorithm", "type": "string" }, "pfx_cert": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Pfx Cert" }, "pub_cert": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Pub Cert" }, "pwd": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Pwd" } }, "title": "yeepay_yop_parse_certificatesArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yop-platform/yop-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server