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
Allows registering Bouncy Castle on a remote agent. Just call
on(Channel) or on(SlaveComputer).- Since:
- 1.648.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncall()static voidon(hudson.remoting.Channel channel) Registers bouncy castle on the slave JVMstatic voidon(SlaveComputer c) Registers bouncy castle on the slave JVMMethods inherited from class jenkins.security.MasterToSlaveCallable
checkRoles, getChannelOrFail, getOpenChannelOrFail
-
Method Details
-
call
- Throws:
Exception
-
on
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.
-