Top Description Constructors Methods
org.eclipse.jgit.transport

pack-priv Class InsecureCipherFactory

extends Object
Class Inheritance
Imports
java.security.NoSuchAlgorithmException, javax.crypto.Cipher, .NoSuchPaddingException

DO NOT USE Factory to create any cipher.

This is a hack for WalkEncryption to create any cipher configured by the end-user. Using this class allows JGit to violate ErrorProne's security recommendations (InsecureCryptoUsage), which is not secure.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static Cipher
create(String algo)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

InsecureCipherFactoryback to summary
pack-priv InsecureCipherFactory()

Method Detail

createback to summary
pack-priv static Cipher create(String algo) throws NoSuchAlgorithmException, NoSuchPaddingException