Welcome to mirror list, hosted at ThFree Co, Russian Federation.

PGPKdfParameters.java « openpgp « bouncycastle « org « java « main « src « pg - gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f80c5be5e2a49880ae2ce1b62ae305be3c53696d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.bouncycastle.openpgp;

public class PGPKdfParameters
    implements PGPAlgorithmParameters
{
    private final int hashAlgorithm;
    private final int symmetricWrapAlgorithm;

    public PGPKdfParameters(int hashAlgorithm, int symmetricWrapAlgorithm)
    {
        this.hashAlgorithm = hashAlgorithm;
        this.symmetricWrapAlgorithm = symmetricWrapAlgorithm;
    }

    public int getSymmetricWrapAlgorithm()
    {
        return symmetricWrapAlgorithm;
    }

    public int getHashAlgorithm()
    {
        return hashAlgorithm;
    }
}