Class SecurityProvidersImpl
- java.lang.Object
-
- com.adobe.internal.pdftoolkit.core.securityframework.impl.SecurityProvidersImpl
-
public class SecurityProvidersImpl extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProvidergetAES()Returns AES providerProvidergetMD5()Returns MD5 providerPKCS7EnvelopedDataHandlergetPKCS7EnvelopedDataHandler()Returns PKCS7EnvelopedDataHandlerSecureRandomgetRandomGenerator()Returns random number generatorProvidergetRC4()Returns RC4 providerProvidergetSHA1()Returns SHA1 providerProvidergetSHA1PRNG()Returns SHA1PRNG providerProvidergetSHA256()Returns SHA256 providerProvidergetSHA384()Returns SHA384 providerProvidergetSHA512()Returns SHA512 providerProviderrequireAES()Returns the AES provider, exception is thrown if it is nullProviderrequireMD5()Returns the MD5 provider, exception is thrown if it is nullPKCS7EnvelopedDataHandlerrequirePKCS7EnvelopedDataHandler()Returns the PKCS7EnvelopedDataHandler, exception is thrown if it is nullSecureRandomrequireRandomGenerator()Returns the random number generator, exception is thrown if it is nullProviderrequireRC4()Returns the RC4 provider, exception is thrown if it is nullProviderrequireSHA1()Returns the SHA1 provider, exception is thrown if it is nullProviderrequireSHA1PRNG()Returns the SHA1PRNG provider, exception is thrown if it is nullProviderrequireSHA256()Returns the SHA256 provider, exception is thrown if it is nullProviderrequireSHA384()Returns the SHA384 provider, exception is thrown if it is nullProviderrequireSHA512()Returns the SHA512 provider, exception is thrown if it is null
-
-
-
Method Detail
-
getAES
public Provider getAES()
Returns AES provider- Returns:
- AES provider
-
getMD5
public Provider getMD5()
Returns MD5 provider- Returns:
- MD5 provider
-
getRC4
public Provider getRC4()
Returns RC4 provider- Returns:
- RC4 provider
-
getSHA1
public Provider getSHA1()
Returns SHA1 provider- Returns:
- SHA1 provider
-
getSHA256
public Provider getSHA256()
Returns SHA256 provider- Returns:
- SHA256 provider
-
getSHA384
public Provider getSHA384()
Returns SHA384 provider- Returns:
- SHA384 provider
-
getSHA512
public Provider getSHA512()
Returns SHA512 provider- Returns:
- SHA512 provider
-
getSHA1PRNG
public Provider getSHA1PRNG()
Returns SHA1PRNG provider- Returns:
- SHA1PRNG provider
-
getPKCS7EnvelopedDataHandler
public PKCS7EnvelopedDataHandler getPKCS7EnvelopedDataHandler()
Returns PKCS7EnvelopedDataHandler- Returns:
- PKCS7EnvelopedDataHandler
-
requireSHA1PRNG
public Provider requireSHA1PRNG() throws PDFSecurityConfigurationException
Returns the SHA1PRNG provider, exception is thrown if it is null- Returns:
- SHA1PRNG Provider
- Throws:
PDFSecurityConfigurationException
-
requireMD5
public Provider requireMD5() throws PDFSecurityConfigurationException
Returns the MD5 provider, exception is thrown if it is null- Returns:
- MD5 Provider
- Throws:
PDFSecurityConfigurationException
-
requireRC4
public Provider requireRC4() throws PDFSecurityConfigurationException
Returns the RC4 provider, exception is thrown if it is null- Returns:
- RC4 Provider
- Throws:
PDFSecurityConfigurationException
-
requireAES
public Provider requireAES() throws PDFSecurityConfigurationException
Returns the AES provider, exception is thrown if it is null- Returns:
- AES Provider
- Throws:
PDFSecurityConfigurationException
-
requireSHA1
public Provider requireSHA1() throws PDFSecurityConfigurationException
Returns the SHA1 provider, exception is thrown if it is null- Returns:
- SHA1 Provider
- Throws:
PDFSecurityConfigurationException
-
requireSHA256
public Provider requireSHA256() throws PDFSecurityConfigurationException
Returns the SHA256 provider, exception is thrown if it is null- Returns:
- SHA256 Provider
- Throws:
PDFSecurityConfigurationException
-
requireSHA384
public Provider requireSHA384() throws PDFSecurityConfigurationException
Returns the SHA384 provider, exception is thrown if it is null- Returns:
- SHA384 Provider
- Throws:
PDFSecurityConfigurationException
-
requireSHA512
public Provider requireSHA512() throws PDFSecurityConfigurationException
Returns the SHA512 provider, exception is thrown if it is null- Returns:
- SHA512 Provider
- Throws:
PDFSecurityConfigurationException
-
requirePKCS7EnvelopedDataHandler
public PKCS7EnvelopedDataHandler requirePKCS7EnvelopedDataHandler() throws PDFSecurityConfigurationException
Returns the PKCS7EnvelopedDataHandler, exception is thrown if it is null- Returns:
- PKCS7EnvelopedDataHandler
- Throws:
PDFSecurityConfigurationException
-
getRandomGenerator
public SecureRandom getRandomGenerator()
Returns random number generator- Returns:
- random number generator
-
requireRandomGenerator
public SecureRandom requireRandomGenerator() throws PDFSecurityConfigurationException
Returns the random number generator, exception is thrown if it is null- Returns:
- random number generator
- Throws:
PDFSecurityConfigurationException
-
-