public class SshKeyUtils extends Object
Modifier and Type | Method and Description |
---|---|
static @NotNull Path |
decodeKeyAndWriteToTempFile(@NotNull String sskKey,
@Nullable String passphrase) |
static KeyPair |
loadKeyFromFile(@NotNull String filePath,
@Nullable String passphrase) |
static KeyPair |
loadKeyFromString(String key,
@Nullable String passphrase) |
public static KeyPair loadKeyFromFile(@NotNull @NotNull String filePath, @Nullable @Nullable String passphrase)
public static KeyPair loadKeyFromString(String key, @Nullable @Nullable String passphrase)
@NotNull public static @NotNull Path decodeKeyAndWriteToTempFile(@NotNull @NotNull String sskKey, @Nullable @Nullable String passphrase) throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.