mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-30 00:02:06 +01:00
Add javadoc to SignatureSubpacketsUtil
This commit is contained in:
parent
58dee0d970
commit
4aaa242d64
1 changed files with 7 additions and 1 deletions
|
@ -438,7 +438,7 @@ public final class SignatureSubpacketsUtil {
|
|||
/**
|
||||
* Return the notation data subpackets from the signatures unhashed area.
|
||||
*
|
||||
* @param signature signture
|
||||
* @param signature signature
|
||||
* @return unhashed notations
|
||||
*/
|
||||
public static List<NotationData> getUnhashedNotationData(PGPSignature signature) {
|
||||
|
@ -638,6 +638,12 @@ public final class SignatureSubpacketsUtil {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Make sure that a key of the given {@link PublicKeyAlgorithm} is able to carry the given key flags.
|
||||
*
|
||||
* @param algorithm key algorithm
|
||||
* @param flags key flags
|
||||
*/
|
||||
public static void assureKeyCanCarryFlags(PublicKeyAlgorithm algorithm, KeyFlag... flags) {
|
||||
final int mask = KeyFlag.toBitmask(flags);
|
||||
|
||||
|
|
Loading…
Reference in a new issue