Lines Matching defs:protection

170  * different passwords or other protection parameters
243 * A marker interface for keystore protection parameters.
247 * For example, protection parameters may be used to check
284 * Creates a password parameter and specifies the protection algorithm
315 * Gets the name of the protection algorithm.
317 * protection algorithm. The name of the default protection algorithm
322 * name of the default key protection algorithm used for PKCS12
335 * Gets the parameters supplied for the protection algorithm.
1519 * with the specified protection parameter.
1560 * The protection parameter is used to protect the
1931 * If {@code protection} is a
1934 * Otherwise, if {@code protection} is a
1960 * @param protection the ProtectionParameter securing the KeyStore data
1961 * @throws NullPointerException if type, file or protection is null
1962 * @throws IllegalArgumentException if protection is not an instance
1967 File file, ProtectionParameter protection) {
1968 if ((type == null) || (file == null) || (protection == null)) {
1971 if ((protection instanceof PasswordProtection == false) &&
1972 (protection instanceof CallbackHandlerProtection == false)) {
1982 return new FileBuilder(type, provider, file, protection,
1995 * If {@code protection} is a {@code PasswordProtection}, the password
1997 * Otherwise, if {@code protection} is a
2016 * @param protection the ProtectionParameter securing the KeyStore data
2017 * @throws NullPointerException if file or protection is null
2018 * @throws IllegalArgumentException if protection is not an instance
2025 ProtectionParameter protection) {
2027 return newInstance("", null, file, protection);
2035 private ProtectionParameter protection;
2044 ProtectionParameter protection,
2049 this.protection = protection;
2066 if (protection instanceof CallbackHandlerProtection == false) {
2090 if (protection instanceof PasswordProtection) {
2092 ((PasswordProtection)protection).getPassword();
2093 keyProtection = protection;
2096 ((CallbackHandlerProtection)protection)
2160 * {@code protection}.
2166 * will return {@code protection}.
2176 * @param protection the ProtectionParameter securing the Keystore
2177 * @throws NullPointerException if type or protection is null
2180 final Provider provider, final ProtectionParameter protection) {
2181 if ((type == null) || (protection == null)) {
2199 LoadStoreParameter param = new SimpleLoadStoreParameter(protection);
2200 if (protection instanceof CallbackHandlerProtection == false) {
2253 return protection;
2262 private final ProtectionParameter protection;
2264 SimpleLoadStoreParameter(ProtectionParameter protection) {
2265 this.protection = protection;
2269 return protection;