default: { parseCertificateToPublicKey(encoded: string): PublicKey; parsePrivateKey(encoded: string,
passphrase?: string): PrivateKey; parsePublicKey(encoded: string): PublicKey; } Type declaration
parseCertificateToPublicKey:function
- parseCertificateToPublicKey(encoded): PublicKey
公钥
parsePrivateKey:function
- parsePrivateKey(encoded, passphrase?): PrivateKey
Parameters
- encoded: string
Optional
passphrase: string
私钥
parsePublicKey:function
- parsePublicKey(encoded): PublicKey
公钥
将证书内容解析为公钥。