• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java TeleTrusTNamedCurves类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves的典型用法代码示例。如果您正苦于以下问题:Java TeleTrusTNamedCurves类的具体用法?Java TeleTrusTNamedCurves怎么用?Java TeleTrusTNamedCurves使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



TeleTrusTNamedCurves类属于org.bouncycastle.asn1.teletrust包,在下文中一共展示了TeleTrusTNamedCurves类的16个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: getByName

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
/**
 * return a X9ECParameters object representing the passed in named
 * curve. The routine returns null if the curve is not present.
 *
 * @param name the name of the curve requested
 * @return an X9ECParameters object or null if the curve is not available.
 */
public static X9ECParameters getByName(
    String name)
{
    X9ECParameters ecP = X962NamedCurves.getByName(name);

    if (ecP == null)
    {
        ecP = SECNamedCurves.getByName(name);
    }

    if (ecP == null)
    {
        ecP = TeleTrusTNamedCurves.getByName(name);
    }

    if (ecP == null)
    {
        ecP = NISTNamedCurves.getByName(name);
    }

    return ecP;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:30,代码来源:ECNamedCurveTable.java


示例2: getByOID

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
/**
 * return a X9ECParameters object representing the passed in named
 * curve.
 *
 * @param oid the object id of the curve requested
 * @return an X9ECParameters object or null if the curve is not available.
 */
public static X9ECParameters getByOID(
    ASN1ObjectIdentifier oid)
{
    X9ECParameters ecP = X962NamedCurves.getByOID(oid);

    if (ecP == null)
    {
        ecP = SECNamedCurves.getByOID(oid);
    }

    if (ecP == null)
    {
        ecP = TeleTrusTNamedCurves.getByOID(oid);
    }

    return ecP;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:25,代码来源:ECNamedCurveTable.java


示例3: getNamedCurveOid

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
public static ASN1ObjectIdentifier getNamedCurveOid(
    String name)
{
    ASN1ObjectIdentifier oid = X962NamedCurves.getOID(name);
    
    if (oid == null)
    {
        oid = SECNamedCurves.getOID(name);
        if (oid == null)
        {
            oid = NISTNamedCurves.getOID(name);
        }
        if (oid == null)
        {
            oid = TeleTrusTNamedCurves.getOID(name);
        }
        if (oid == null)
        {
            oid = ECGOST3410NamedCurves.getOID(name);
        }
    }

    return oid;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:25,代码来源:ECUtil.java


示例4: getNamedCurveByOid

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
public static X9ECParameters getNamedCurveByOid(
    ASN1ObjectIdentifier oid)
{
    X9ECParameters params = X962NamedCurves.getByOID(oid);
    
    if (params == null)
    {
        params = SECNamedCurves.getByOID(oid);
        if (params == null)
        {
            params = NISTNamedCurves.getByOID(oid);
        }
        if (params == null)
        {
            params = TeleTrusTNamedCurves.getByOID(oid);
        }
    }

    return params;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:21,代码来源:ECUtil.java


示例5: getCurveName

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
public static String getCurveName(
    ASN1ObjectIdentifier oid)
{
    String name = X962NamedCurves.getName(oid);
    
    if (name == null)
    {
        name = SECNamedCurves.getName(oid);
        if (name == null)
        {
            name = NISTNamedCurves.getName(oid);
        }
        if (name == null)
        {
            name = TeleTrusTNamedCurves.getName(oid);
        }
        if (name == null)
        {
            name = ECGOST3410NamedCurves.getName(oid);
        }
    }

    return name;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:25,代码来源:ECUtil.java


示例6: getByOID

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
/**
 * return a X9ECParameters object representing the passed in named
 * curve.
 *
 * @param oid the object id of the curve requested
 * @return an X9ECParameters object or null if the curve is not available.
 */
public static X9ECParameters getByOID(
    ASN1ObjectIdentifier oid)
{
    X9ECParameters ecP = X962NamedCurves.getByOID(oid);

    if (ecP == null)
    {
        ecP = SECNamedCurves.getByOID(oid);
    }

    // NOTE: All the NIST curves are currently from SEC, so no point in redundant OID lookup

    if (ecP == null)
    {
        ecP = TeleTrusTNamedCurves.getByOID(oid);
    }

    if (ecP == null)
    {
        ecP = ANSSINamedCurves.getByOID(oid);
    }

    return ecP;
}
 
开发者ID:ttt43ttt,项目名称:gwt-crypto,代码行数:32,代码来源:ECNamedCurveTable.java


示例7: getNamedCurveByOid

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
public static X9ECParameters getNamedCurveByOid(
    ASN1ObjectIdentifier oid)
{
    X9ECParameters params = CustomNamedCurves.getByOID(oid);

    if (params == null)
    {
        params = X962NamedCurves.getByOID(oid);
        if (params == null)
        {
            params = SECNamedCurves.getByOID(oid);
        }
        if (params == null)
        {
            params = NISTNamedCurves.getByOID(oid);
        }
        if (params == null)
        {
            params = TeleTrusTNamedCurves.getByOID(oid);
        }
    }

    return params;
}
 
开发者ID:thedrummeraki,项目名称:Aki-SSL,代码行数:25,代码来源:ECUtil.java


示例8: getNamedCurveByName

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
public static X9ECParameters getNamedCurveByName(
    String curveName)
{
    X9ECParameters params = CustomNamedCurves.getByName(curveName);

    if (params == null)
    {
        params = X962NamedCurves.getByName(curveName);
        if (params == null)
        {
            params = SECNamedCurves.getByName(curveName);
        }
        if (params == null)
        {
            params = NISTNamedCurves.getByName(curveName);
        }
        if (params == null)
        {
            params = TeleTrusTNamedCurves.getByName(curveName);
        }
    }

    return params;
}
 
开发者ID:thedrummeraki,项目名称:Aki-SSL,代码行数:25,代码来源:ECUtil.java


示例9: getOID

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
/**
 * return the object identifier signified by the passed in name. Null
 * if there is no object identifier associated with name.
 *
 * @return the object identifier associated with name, if present.
 */
public static ASN1ObjectIdentifier getOID(
    String name)
{
    ASN1ObjectIdentifier oid = X962NamedCurves.getOID(name);

    if (oid == null)
    {
        oid = SECNamedCurves.getOID(name);
    }

    if (oid == null)
    {
        oid = TeleTrusTNamedCurves.getOID(name);
    }

    if (oid == null)
    {
        oid = NISTNamedCurves.getOID(name);
    }

    return oid;
}
 
开发者ID:redfish64,项目名称:TinyTravelTracker,代码行数:29,代码来源:ECNamedCurveTable.java


示例10: getByOID

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
/**
 * return a X9ECParameters object representing the passed in named
 * curve.
 *
 * @param oid the object id of the curve requested
 * @return an X9ECParameters object or null if the curve is not available.
 */
public static X9ECParameters getByOID(
    ASN1ObjectIdentifier oid)
{
    X9ECParameters ecP = X962NamedCurves.getByOID(oid);

    if (ecP == null)
    {
        ecP = SECNamedCurves.getByOID(oid);
    }

    if (ecP == null)
    {
        ecP = TeleTrusTNamedCurves.getByOID(oid);
    }

    // NOTE: All the NIST curves are currently from SEC, so no point in redundant OID lookup

    return ecP;
}
 
开发者ID:redfish64,项目名称:TinyTravelTracker,代码行数:27,代码来源:ECNamedCurveTable.java


示例11: getNames

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
/**
 * return an enumeration of the names of the available curves.
 *
 * @return an enumeration of the names of the available curves.
 */
public static Enumeration getNames()
{
    Vector v = new Vector();
    
    addEnumeration(v, X962NamedCurves.getNames());
    addEnumeration(v, SECNamedCurves.getNames());
    addEnumeration(v, NISTNamedCurves.getNames());
    addEnumeration(v, TeleTrusTNamedCurves.getNames());

    return v.elements();
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:17,代码来源:ECNamedCurveTable.java


示例12: getNames

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
/**
 * return an enumeration of the names of the available curves.
 *
 * @return an enumeration of the names of the available curves.
 */
public static Enumeration getNames()
{
    Vector v = new Vector();

    addEnumeration(v, X962NamedCurves.getNames());
    addEnumeration(v, SECNamedCurves.getNames());
    addEnumeration(v, NISTNamedCurves.getNames());
    addEnumeration(v, TeleTrusTNamedCurves.getNames());

    return v.elements();
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:17,代码来源:ECNamedCurveTable.java


示例13: getByName

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
/**
 * return a X9ECParameters object representing the passed in named
 * curve. The routine returns null if the curve is not present.
 *
 * @param name the name of the curve requested
 * @return an X9ECParameters object or null if the curve is not available.
 */
public static X9ECParameters getByName(
    String name)
{
    X9ECParameters ecP = X962NamedCurves.getByName(name);

    if (ecP == null)
    {
        ecP = SECNamedCurves.getByName(name);
    }

    if (ecP == null)
    {
        ecP = NISTNamedCurves.getByName(name);
    }

    if (ecP == null)
    {
        ecP = TeleTrusTNamedCurves.getByName(name);
    }

    if (ecP == null)
    {
        ecP = ANSSINamedCurves.getByName(name);
    }

    return ecP;
}
 
开发者ID:ttt43ttt,项目名称:gwt-crypto,代码行数:35,代码来源:ECNamedCurveTable.java


示例14: getOID

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
/**
 * return the object identifier signified by the passed in name. Null
 * if there is no object identifier associated with name.
 *
 * @return the object identifier associated with name, if present.
 */
public static ASN1ObjectIdentifier getOID(
    String name)
{
    ASN1ObjectIdentifier oid = X962NamedCurves.getOID(name);

    if (oid == null)
    {
        oid = SECNamedCurves.getOID(name);
    }

    if (oid == null)
    {
        oid = NISTNamedCurves.getOID(name);
    }

    if (oid == null)
    {
        oid = TeleTrusTNamedCurves.getOID(name);
    }

    if (oid == null)
    {
        oid = ANSSINamedCurves.getOID(name);
    }

    return oid;
}
 
开发者ID:ttt43ttt,项目名称:gwt-crypto,代码行数:34,代码来源:ECNamedCurveTable.java


示例15: getName

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
/**
 * return a X9ECParameters object representing the passed in named
 * curve.
 *
 * @param oid the object id of the curve requested
 * @return a standard name for the curve.
 */
public static String getName(
    ASN1ObjectIdentifier oid)
{
    String name = NISTNamedCurves.getName(oid);

    if (name == null)
    {
        name = SECNamedCurves.getName(oid);
    }

    if (name == null)
    {
        name = TeleTrusTNamedCurves.getName(oid);
    }

    if (name == null)
    {
        name = X962NamedCurves.getName(oid);
    }

    if (name == null)
    {
        name = ECGOST3410NamedCurves.getName(oid);
    }

    return name;
}
 
开发者ID:ttt43ttt,项目名称:gwt-crypto,代码行数:35,代码来源:ECNamedCurveTable.java


示例16: getNames

import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; //导入依赖的package包/类
/**
 * return an enumeration of the names of the available curves.
 *
 * @return an enumeration of the names of the available curves.
 */
public static Enumeration getNames()
{
    Vector v = new Vector();

    addEnumeration(v, X962NamedCurves.getNames());
    addEnumeration(v, SECNamedCurves.getNames());
    addEnumeration(v, NISTNamedCurves.getNames());
    addEnumeration(v, TeleTrusTNamedCurves.getNames());
    addEnumeration(v, ANSSINamedCurves.getNames());

    return v.elements();
}
 
开发者ID:ttt43ttt,项目名称:gwt-crypto,代码行数:18,代码来源:ECNamedCurveTable.java



注:本文中的org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java Vector2类代码示例发布时间:2022-05-22
下一篇:
Java BytesRefArrayWritable类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap