Class SecurityProvidersImpl
java.lang.Object
com.adobe.internal.pdftoolkit.core.securityframework.impl.SecurityProvidersImpl
-
Method Summary
Modifier and TypeMethodDescriptiongetAES()Returns AES providergetMD5()Returns MD5 providerReturns PKCS7EnvelopedDataHandlerReturns random number generatorgetRC4()Returns RC4 providergetSHA1()Returns SHA1 providerReturns SHA1PRNG providerReturns SHA256 providerReturns SHA384 providerReturns SHA512 providerReturns the AES provider, exception is thrown if it is nullReturns the MD5 provider, exception is thrown if it is nullReturns the PKCS7EnvelopedDataHandler, exception is thrown if it is nullReturns the random number generator, exception is thrown if it is nullReturns the RC4 provider, exception is thrown if it is nullReturns the SHA1 provider, exception is thrown if it is nullReturns the SHA1PRNG provider, exception is thrown if it is nullReturns the SHA256 provider, exception is thrown if it is nullReturns the SHA384 provider, exception is thrown if it is nullReturns the SHA512 provider, exception is thrown if it is null
-
Method Details
-
getAES
Returns AES provider- Returns:
- AES provider
-
getMD5
Returns MD5 provider- Returns:
- MD5 provider
-
getRC4
Returns RC4 provider- Returns:
- RC4 provider
-
getSHA1
Returns SHA1 provider- Returns:
- SHA1 provider
-
getSHA256
Returns SHA256 provider- Returns:
- SHA256 provider
-
getSHA384
Returns SHA384 provider- Returns:
- SHA384 provider
-
getSHA512
Returns SHA512 provider- Returns:
- SHA512 provider
-
getSHA1PRNG
Returns SHA1PRNG provider- Returns:
- SHA1PRNG provider
-
getPKCS7EnvelopedDataHandler
Returns PKCS7EnvelopedDataHandler- Returns:
- PKCS7EnvelopedDataHandler
-
requireSHA1PRNG
Returns the SHA1PRNG provider, exception is thrown if it is null- Returns:
- SHA1PRNG Provider
- Throws:
PDFSecurityConfigurationException
-
requireMD5
Returns the MD5 provider, exception is thrown if it is null- Returns:
- MD5 Provider
- Throws:
PDFSecurityConfigurationException
-
requireRC4
Returns the RC4 provider, exception is thrown if it is null- Returns:
- RC4 Provider
- Throws:
PDFSecurityConfigurationException
-
requireAES
Returns the AES provider, exception is thrown if it is null- Returns:
- AES Provider
- Throws:
PDFSecurityConfigurationException
-
requireSHA1
Returns the SHA1 provider, exception is thrown if it is null- Returns:
- SHA1 Provider
- Throws:
PDFSecurityConfigurationException
-
requireSHA256
Returns the SHA256 provider, exception is thrown if it is null- Returns:
- SHA256 Provider
- Throws:
PDFSecurityConfigurationException
-
requireSHA384
Returns the SHA384 provider, exception is thrown if it is null- Returns:
- SHA384 Provider
- Throws:
PDFSecurityConfigurationException
-
requireSHA512
Returns the SHA512 provider, exception is thrown if it is null- Returns:
- SHA512 Provider
- Throws:
PDFSecurityConfigurationException
-
requirePKCS7EnvelopedDataHandler
public PKCS7EnvelopedDataHandler requirePKCS7EnvelopedDataHandler() throws PDFSecurityConfigurationExceptionReturns the PKCS7EnvelopedDataHandler, exception is thrown if it is null- Returns:
- PKCS7EnvelopedDataHandler
- Throws:
PDFSecurityConfigurationException
-
getRandomGenerator
Returns random number generator- Returns:
- random number generator
-
requireRandomGenerator
Returns the random number generator, exception is thrown if it is null- Returns:
- random number generator
- Throws:
PDFSecurityConfigurationException
-