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

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