Package org.eclipse.jgit.transport
Class InsecureCipherFactory
- java.lang.Object
-
- org.eclipse.jgit.transport.InsecureCipherFactory
-
class InsecureCipherFactory extends java.lang.Object
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
Constructors Constructor Description InsecureCipherFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static javax.crypto.Cipher
create(java.lang.String algo)
-