mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 10:19:39 +02:00
Remove SignerUserIdValidation enum
This commit is contained in:
parent
18a49d0afd
commit
46367aff93
1 changed files with 0 additions and 16 deletions
|
@ -615,22 +615,6 @@ class Policy {
|
|||
}
|
||||
}
|
||||
|
||||
enum class SignerUserIdValidationLevel {
|
||||
/**
|
||||
* PGPainless will verify [org.bouncycastle.bcpg.sig.SignerUserID] subpackets in signatures
|
||||
* strictly. This means, that signatures with Signer's User-ID subpackets containing a value
|
||||
* that does not match the signer key's user-id exactly, will be rejected. E.g. Signer's
|
||||
* user-id "alice@pgpainless.org", User-ID: "Alice <alice@pgpainless.org>" does not
|
||||
* match exactly and is therefore rejected.
|
||||
*/
|
||||
STRICT,
|
||||
|
||||
/**
|
||||
* PGPainless will ignore [org.bouncycastle.bcpg.sig.SignerUserID] subpackets on signature.
|
||||
*/
|
||||
DISABLED
|
||||
}
|
||||
|
||||
class Builder(private val origin: Policy) {
|
||||
private var certificationSignatureHashAlgorithmPolicy: HashAlgorithmPolicy =
|
||||
origin.certificationSignatureHashAlgorithmPolicy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue