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 Provider
getAES()
Returns AES providerProvider
getMD5()
Returns MD5 providerPKCS7EnvelopedDataHandler
getPKCS7EnvelopedDataHandler()
Returns PKCS7EnvelopedDataHandlerSecureRandom
getRandomGenerator()
Returns random number generatorProvider
getRC4()
Returns RC4 providerProvider
getSHA1()
Returns SHA1 providerProvider
getSHA1PRNG()
Returns SHA1PRNG providerProvider
getSHA256()
Returns SHA256 providerProvider
getSHA384()
Returns SHA384 providerProvider
getSHA512()
Returns SHA512 providerProvider
requireAES()
Returns the AES provider, exception is thrown if it is nullProvider
requireMD5()
Returns the MD5 provider, exception is thrown if it is nullPKCS7EnvelopedDataHandler
requirePKCS7EnvelopedDataHandler()
Returns the PKCS7EnvelopedDataHandler, exception is thrown if it is nullSecureRandom
requireRandomGenerator()
Returns the random number generator, exception is thrown if it is nullProvider
requireRC4()
Returns the RC4 provider, exception is thrown if it is nullProvider
requireSHA1()
Returns the SHA1 provider, exception is thrown if it is nullProvider
requireSHA1PRNG()
Returns the SHA1PRNG provider, exception is thrown if it is nullProvider
requireSHA256()
Returns the SHA256 provider, exception is thrown if it is nullProvider
requireSHA384()
Returns the SHA384 provider, exception is thrown if it is nullProvider
requireSHA512()
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
-
-