mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-22 20:32:05 +01:00
Move And + Or selection strategies to util
This commit is contained in:
parent
58675b5556
commit
e9958bc620
5 changed files with 23 additions and 4 deletions
|
@ -36,7 +36,7 @@ import org.pgpainless.algorithm.SymmetricKeyAlgorithm;
|
|||
import org.pgpainless.key.protection.SecretKeyRingProtector;
|
||||
import org.pgpainless.key.selection.key.PublicKeySelectionStrategy;
|
||||
import org.pgpainless.key.selection.key.SecretKeySelectionStrategy;
|
||||
import org.pgpainless.key.selection.key.impl.And;
|
||||
import org.pgpainless.key.selection.key.util.And;
|
||||
import org.pgpainless.key.selection.key.impl.EncryptionKeySelectionStrategy;
|
||||
import org.pgpainless.key.selection.key.impl.NoRevocation;
|
||||
import org.pgpainless.key.selection.key.impl.SignatureKeySelectionStrategy;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.pgpainless.key.selection.key.impl;
|
||||
package org.pgpainless.key.selection.key.util;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.pgpainless.key.selection.key.impl;
|
||||
package org.pgpainless.key.selection.key.util;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright 2018 Paul Schaub.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/**
|
||||
* Implementations of utility Key Selection Strategies.
|
||||
*/
|
||||
package org.pgpainless.key.selection.key.util;
|
|
@ -42,7 +42,7 @@ import org.bouncycastle.openpgp.operator.bc.BcKeyFingerprintCalculator;
|
|||
import org.bouncycastle.util.io.Streams;
|
||||
import org.pgpainless.algorithm.KeyFlag;
|
||||
import org.pgpainless.key.selection.key.PublicKeySelectionStrategy;
|
||||
import org.pgpainless.key.selection.key.impl.And;
|
||||
import org.pgpainless.key.selection.key.util.And;
|
||||
import org.pgpainless.key.selection.key.impl.NoRevocation;
|
||||
import org.pgpainless.key.selection.key.impl.SignedByMasterKey;
|
||||
|
||||
|
|
Loading…
Reference in a new issue