Package jenkins.bouncycastle.api
Class InstallBouncyCastleJCAProvider
- java.lang.Object
-
- jenkins.security.MasterToSlaveCallable<Boolean,Exception>
-
- jenkins.bouncycastle.api.InstallBouncyCastleJCAProvider
-
- All Implemented Interfaces:
hudson.remoting.Callable<Boolean,Exception>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
public class InstallBouncyCastleJCAProvider extends MasterToSlaveCallable<Boolean,Exception>
Allows registering Bouncy Castle on a remote agent. Just callon(Channel)
oron(SlaveComputer)
.- Since:
- 1.648.2
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
call()
static void
on(hudson.remoting.Channel channel)
Registers bouncy castle on the slave JVMstatic void
on(SlaveComputer c)
Registers bouncy castle on the slave JVM-
Methods inherited from class jenkins.security.MasterToSlaveCallable
checkRoles, getChannelOrFail, getOpenChannelOrFail
-
-
-
-
Method Detail
-
on
public static void on(@NonNull SlaveComputer c) throws IOException, InterruptedException
Registers bouncy castle on the slave JVM- Parameters:
c
- the slave- Throws:
IOException
- if there is a problem registering bouncycastleInterruptedException
- if interrupted while trying to registerSecurityException
- if the remote JVM has a security managerLinkageError
- if there was a classloading issue on the remote agent.
-
on
public static void on(@NonNull hudson.remoting.Channel channel) throws IOException, InterruptedException
Registers bouncy castle on the slave JVM- Parameters:
channel
- theChannel
- Throws:
IOException
- if there is a problem registering bouncycastleInterruptedException
- if interrupted while trying to registerSecurityException
- if the remote JVM has a security managerLinkageError
- if there was a classloading issue on the remote agent.
-
-