Home | History | Annotate | Download | only in security

Lines Matching refs:protection

154  * different passwords or other protection parameters
263 * A marker interface for keystore protection parameters.
267 * For example, protection parameters may be used to check
304 * Creates a password parameter and specifies the protection algorithm
336 * Gets the name of the protection algorithm.
338 * protection algorithm. The name of the default protection algorithm
343 * name of the default key protection algorithm used for PKCS12
356 * Gets the parameters supplied for the protection algorithm.
1524 * with the specified protection parameter.
1565 * The protection parameter is used to protect the
1746 * If {@code protection} is a
1749 * Otherwise, if {@code protection} is a
1775 * @param protection the ProtectionParameter securing the KeyStore data
1776 protection is null
1777 * @throws IllegalArgumentException if protection is not an instance
1782 File file, ProtectionParameter protection) {
1783 if ((type == null) || (file == null) || (protection == null)) {
1786 if ((protection instanceof PasswordProtection == false) &&
1787 (protection instanceof CallbackHandlerProtection == false)) {
1789 ("Protection must be PasswordProtection or " +
1797 return new FileBuilder(type, provider, file, protection,
1806 private ProtectionParameter protection;
1815 ProtectionParameter protection,
1820 this.protection = protection;
1837 if (protection instanceof CallbackHandlerProtection == false) {
1867 if (protection instanceof PasswordProtection) {
1869 ((PasswordProtection)protection).getPassword();
1870 keyProtection = protection;
1873 ((CallbackHandlerProtection)protection)
1927 * {@code protection}.
1933 * will return {@code protection}.
1943 * @param protection the ProtectionParameter securing the Keystore
1944 * @throws NullPointerException if type or protection is null
1947 final Provider provider, final ProtectionParameter protection) {
1948 if ((type == null) || (protection == null)) {
1966 LoadStoreParameter param = new SimpleLoadStoreParameter(protection);
1967 if (protection instanceof CallbackHandlerProtection == false) {
2020 return protection;
2029 private final ProtectionParameter protection;
2031 SimpleLoadStoreParameter(ProtectionParameter protection) {
2032 this.protection = protection;
2036 return protection;