mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-08 16:18:05 +03:00
Suppressing Method naming conventions for Factory classes
This commit is contained in:
@@ -28,6 +28,7 @@ import net.schmizz.sshj.transport.cipher.Cipher;
|
|||||||
*
|
*
|
||||||
* Some of the Ciphers are still implemented in net.schmizz.sshj.transport.cipher.*. These are scheduled to be migrated to here.
|
* Some of the Ciphers are still implemented in net.schmizz.sshj.transport.cipher.*. These are scheduled to be migrated to here.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.MethodNamingConventions")
|
||||||
public class BlockCiphers {
|
public class BlockCiphers {
|
||||||
|
|
||||||
public static final String COUNTER_MODE = "CTR";
|
public static final String COUNTER_MODE = "CTR";
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ import static com.hierynomus.sshj.transport.cipher.BlockCiphers.COUNTER_MODE;
|
|||||||
*
|
*
|
||||||
* - http://tools.ietf.org/id/draft-kanno-secsh-camellia-01.txt
|
* - http://tools.ietf.org/id/draft-kanno-secsh-camellia-01.txt
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.MethodNamingConventions")
|
||||||
public class ExtendedBlockCiphers {
|
public class ExtendedBlockCiphers {
|
||||||
public static BlockCiphers.Factory Camellia128CTR() {
|
public static BlockCiphers.Factory Camellia128CTR() {
|
||||||
return new BlockCiphers.Factory(16, 128, "camellia128-ctr", "Camellia", COUNTER_MODE);
|
return new BlockCiphers.Factory(16, 128, "camellia128-ctr", "Camellia", COUNTER_MODE);
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ import net.schmizz.sshj.transport.cipher.Cipher;
|
|||||||
* - https://tools.ietf.org/html/rfc4253#section-6.3
|
* - https://tools.ietf.org/html/rfc4253#section-6.3
|
||||||
* - https://tools.ietf.org/html/rfc4345
|
* - https://tools.ietf.org/html/rfc4345
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.MethodNamingConventions")
|
||||||
public class StreamCiphers {
|
public class StreamCiphers {
|
||||||
|
|
||||||
public static Factory Arcfour() {
|
public static Factory Arcfour() {
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ import static net.schmizz.sshj.transport.kex.DHGroupData.P18;
|
|||||||
* - https://tools.ietf.org/html/rfc4253
|
* - https://tools.ietf.org/html/rfc4253
|
||||||
* - https://tools.ietf.org/html/draft-ietf-curdle-ssh-modp-dh-sha2-01
|
* - https://tools.ietf.org/html/draft-ietf-curdle-ssh-modp-dh-sha2-01
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.MethodNamingConventions")
|
||||||
public class DHGroups {
|
public class DHGroups {
|
||||||
|
|
||||||
public static DHGroups.Factory Group1SHA1() {
|
public static DHGroups.Factory Group1SHA1() {
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ import static net.schmizz.sshj.transport.kex.DHGroupData.*;
|
|||||||
/**
|
/**
|
||||||
* Set of KEX methods that are not in official RFCs but are supported by some SSH servers.
|
* Set of KEX methods that are not in official RFCs but are supported by some SSH servers.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.MethodNamingConventions")
|
||||||
public class ExtendedDHGroups {
|
public class ExtendedDHGroups {
|
||||||
public static DHGroups.Factory Group14SHA256AtSSH() {
|
public static DHGroups.Factory Group14SHA256AtSSH() {
|
||||||
return new DHGroups.Factory("diffie-hellman-group14-sha256@ssh.com", P14, G, new SHA256.Factory());
|
return new DHGroups.Factory("diffie-hellman-group14-sha256@ssh.com", P14, G, new SHA256.Factory());
|
||||||
|
|||||||
Reference in New Issue
Block a user