distributionpointname.java

来自「说明: 1、里面有什么: 1.1、org.bouncycastle.*」· Java 代码 · 共 42 行

JAVA
42
字号
package org.bouncycastle.asn1.x509;import org.bouncycastle.asn1.*;public class DistributionPointName    implements DEREncodable{    DEREncodable        name;    int                 type;    public static final int FULL_NAME = 0;    public static final int NAME_RELATIVE_TO_CRL_ISSUER = 1;    public DistributionPointName(        int             type,        DEREncodable    name)    {        this.type = type;        this.name = name;    }    /**     * <pre>     * DistributionPointName ::= CHOICE {     *     fullName                 [0] GeneralNames,     *     nameRelativeToCRLIssuer  [1] RelativeDistinguishedName     * }     * </pre>     */    public DERObject getDERObject()    {        if (name instanceof ASN1Sequence)        {            return new DERTaggedObject(true, type, name);        }        else        {            return new DERTaggedObject(false, type, name);        }    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?