Package jenkins.plugins.jclouds.modules
Class JenkinsBouncyCastleCrypto
- java.lang.Object
-
- org.jclouds.encryption.internal.JCECrypto
-
- jenkins.plugins.jclouds.modules.JenkinsBouncyCastleCrypto
-
- All Implemented Interfaces:
Crypto
@Singleton public class JenkinsBouncyCastleCrypto extends JCECrypto
A JCloud
implementation, similar toCrypto
, but which always reuse the sameBouncyCastleCrypto
instance, to avoid a memory leak.BouncyCastleProvider
-
-
Constructor Summary
Constructors Constructor Description JenkinsBouncyCastleCrypto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cipher
cipher(String algorithm)
-
Methods inherited from class org.jclouds.encryption.internal.JCECrypto
certFactory, hmac, hmacSHA1, hmacSHA256, rsaKeyFactory, rsaKeyPairGenerator
-
-
-
-
Constructor Detail
-
JenkinsBouncyCastleCrypto
public JenkinsBouncyCastleCrypto() throws NoSuchAlgorithmException, CertificateException
-
-
Method Detail
-
cipher
public Cipher cipher(String algorithm) throws NoSuchAlgorithmException, NoSuchPaddingException
- Specified by:
cipher
in interfaceCrypto
- Overrides:
cipher
in classJCECrypto
- Throws:
NoSuchAlgorithmException
NoSuchPaddingException
- See Also:
BouncyCastleCrypto
-
-