aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/pg/src/main/java/org/spongycastle/openpgp/PGPKdfParameters.java
blob: fc37af74ba9eb5f71093a2beed6c5679537f1c0c (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.spongycastle.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;
    }
}