convertPKCS12ToKeyPair static method

Future<PKCS12KeyPair> convertPKCS12ToKeyPair(
  1. String pkcs12,
  2. String password
)

Implementation

static Future<PKCS12KeyPair> convertPKCS12ToKeyPair(
    String pkcs12, String password) async {
  var request = ConvertPKCS12Request()
    ..pkcs12 = pkcs12
    ..password = password;

  return await _pkcs12KeyPairResponse(
      "convertPKCS12ToKeyPair", request.writeToBuffer());
}