CryptosignAuthentication.fromOpenSshPrivateKey constructor
Implementation
factory CryptosignAuthentication.fromOpenSshPrivateKey(
String openSshFileContent, {
String? password,
}) {
return CryptosignAuthentication(
SigningKey.fromSeed(
Pem.loadPrivateKeyFromOpenSSHPem(
openSshFileContent,
password: password,
),
),
null,
);
}