Lines Matching refs:protection

164  * different passwords or other protection parameters
231 * A marker interface for keystore protection parameters.
235 * For example, protection parameters may be used to check
1254 * with the specified protection parameter.
1295 * The protection parameter is used to protect the
1475 * If <code>protection</code> is a
1478 * Otherwise, if <code>protection</code> is a
1504 * @param protection the ProtectionParameter securing the KeyStore data
1505 * @throws NullPointerException if type, file or protection is null
1506 * @throws IllegalArgumentException if protection is not an instance
1511 File file, ProtectionParameter protection) {
1512 if ((type == null) || (file == null) || (protection == null)) {
1515 if ((protection instanceof PasswordProtection == false) &&
1516 (protection instanceof CallbackHandlerProtection == false)) {
1526 return new FileBuilder(type, provider, file, protection,
1535 private ProtectionParameter protection;
1544 ProtectionParameter protection,
1549 this.protection = protection;
1566 if (protection instanceof CallbackHandlerProtection == false) {
1596 if (protection instanceof PasswordProtection) {
1598 ((PasswordProtection)protection).getPassword();
1599 keyProtection = protection;
1602 ((CallbackHandlerProtection)protection)
1656 * <code>protection</code>.
1662 * will return <code>protection</code>.
1672 * @param protection the ProtectionParameter securing the Keystore
1673 * @throws NullPointerException if type or protection is null
1676 final Provider provider, final ProtectionParameter protection) {
1677 if ((type == null) || (protection == null)) {
1695 LoadStoreParameter param = new SimpleLoadStoreParameter(protection);
1696 if (protection instanceof CallbackHandlerProtection == false) {
1749 return protection;
1758 private final ProtectionParameter protection;
1760 SimpleLoadStoreParameter(ProtectionParameter protection) {
1761 this.protection = protection;
1765 return protection;