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

CertChainType.java « tls « crypto « bouncycastle « org « java « main « src « core - gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8902ed7942e8e71ea6a6543dc81085127052ea43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.bouncycastle.crypto.tls;

/*
 * RFC 3546 3.3.
 */
public class CertChainType
{
    public static final short individual_certs = 0;
    public static final short pkipath = 1;

    public static boolean isValid(short certChainType)
    {
        return certChainType >= individual_certs && certChainType <= pkipath;
    }
}