⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 generalnames.java

📁 说明: 1、里面有什么: 1.1、org.bouncycastle.*下的所有软件是bouncycastle组织开发的软件包 1.2、org.infosecurity.*下的软件包括
💻 JAVA
字号:
package org.bouncycastle.asn1.x509;import java.util.Enumeration;import org.bouncycastle.asn1.*;public class GeneralNames    implements DEREncodable{    ASN1Sequence            seq;    boolean                 isInsideImplicit = false;    public static GeneralNames getInstance(        Object  obj)    {        if (obj == null || obj instanceof GeneralNames)        {            return (GeneralNames)obj;        }        if (obj instanceof ASN1Sequence)        {            return new GeneralNames((ASN1Sequence)obj);        }        throw new IllegalArgumentException("illegal object in getInstance: " + obj.getClass().getName());    }    public static GeneralNames getInstance(        ASN1TaggedObject obj,        boolean          explicit)    {        return getInstance(ASN1Sequence.getInstance(obj, explicit));    }    public GeneralNames(        ASN1Sequence  seq)    {        this.seq = seq;    }    /*     * this is a hack! But it will have to do until the ambiguity rules     * get sorted out for implicit/explicit tagging...     * @deprecated     */    public void markInsideImplicit(        boolean    isInsideImplicit)    {        this.isInsideImplicit = isInsideImplicit;    }    /**     * <pre>     * GeneralNames ::= SEQUENCE SIZE {1..MAX} OF GeneralName     * </pre>     */    public DERObject getDERObject()    {        return seq;    }}

⌨️ 快捷键说明

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