Suppressing Method naming conventions for Factory classes

This commit is contained in:
Jeroen van Erp
2017-01-20 15:43:36 +01:00
parent 9cb5bf4e10
commit 786734ce26
5 changed files with 5 additions and 0 deletions

View File

@@ -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";

View File

@@ -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);

View File

@@ -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() {

View File

@@ -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() {

View File

@@ -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());