package com.atlassian.bitbucket.internal.mirroring.mirror.ssh;

import javax.annotation.Nullable;
import java.security.KeyPair;

/**
 * Generates a key pair for a mirror
 */
public interface MirrorKeyPairGenerator {

    /**
     * Generates a key pair
     * @return the generated key pair
     */
    @Nullable
    KeyPair generate();
}
