
com.github.joschi.jersey.security.BouncyIntegration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jersey-smime Show documentation
Show all versions of jersey-smime Show documentation
Backport of the S/MIME features from resteasy-security
The newest version!
package com.github.joschi.jersey.security;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import java.security.Security;
/**
* @author Bill Burke
* @version $Revision: 1 $
*/
public final class BouncyIntegration {
static {
if (Security.getProvider("BC") == null) {
Security.addProvider(new BouncyCastleProvider());
}
}
public static void init() {
// empty, the static class does it
}
private BouncyIntegration() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy