CryptosignAuthentication.fromPuttyPrivateKey constructor

CryptosignAuthentication.fromPuttyPrivateKey(
  1. String ppkFileContent, {
  2. String? password,
})

Implementation

factory CryptosignAuthentication.fromPuttyPrivateKey(
  String ppkFileContent, {
  String? password,
}) {
  return CryptosignAuthentication(
    SigningKey.fromSeed(
      Ppk.loadPrivateKeyFromPpk(ppkFileContent, password: password),
    ),
    null,
  );
}