本文整理了Java中org.bouncycastle.asn1.ASN1Primitive.isConstructed()
方法的一些代码示例,展示了ASN1Primitive.isConstructed()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ASN1Primitive.isConstructed()
方法的具体详情如下:
包路径:org.bouncycastle.asn1.ASN1Primitive
类名称:ASN1Primitive
方法名:isConstructed
[英]Return true if this objected is a CONSTRUCTED one, false otherwise.
[中]如果此对象是构造的,则返回true,否则返回false。
代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on
/**
* Create an application specific object with the tagging style given by the value of constructed.
*
* @param constructed true if the object is constructed.
* @param tag the tag number for this object.
* @param object the object to be contained.
*/
public DLApplicationSpecific(
boolean constructed,
int tag,
ASN1Encodable object)
throws IOException
{
super(constructed || object.toASN1Primitive().isConstructed(), tag, getEncoding(constructed, object));
}
代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on
/**
* Create an application specific object with the tagging style given by the value of constructed.
*
* @param constructed true if the object is constructed.
* @param tag the tag number for this object.
* @param object the object to be contained.
*/
public DERApplicationSpecific(
boolean constructed,
int tag,
ASN1Encodable object)
throws IOException
{
super(constructed || object.toASN1Primitive().isConstructed(), tag, getEncoding(constructed, object));
}
代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on
/**
* Create an application specific object with the tagging style given by the value of constructed.
*
* @param constructed true if the object is constructed.
* @param tag the tag number for this object.
* @param object the object to be contained.
*/
public BERApplicationSpecific(
boolean constructed,
int tag,
ASN1Encodable object)
throws IOException
{
super(constructed || object.toASN1Primitive().isConstructed(), tag, getEncoding(constructed, object));
}
代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on
boolean isConstructed()
{
if (!empty)
{
if (explicit)
{
return true;
}
else
{
ASN1Primitive primitive = obj.toASN1Primitive().toDERObject();
return primitive.isConstructed();
}
}
else
{
return true;
}
}
代码示例来源:origin: redfish64/TinyTravelTracker
boolean isConstructed()
{
if (!empty)
{
if (explicit)
{
return true;
}
else
{
ASN1Primitive primitive = obj.toASN1Primitive().toDERObject();
return primitive.isConstructed();
}
}
else
{
return true;
}
}
代码示例来源:origin: redfish64/TinyTravelTracker
boolean isConstructed()
{
if (!empty)
{
if (explicit)
{
return true;
}
else
{
ASN1Primitive primitive = obj.toASN1Primitive().toDERObject();
return primitive.isConstructed();
}
}
else
{
return true;
}
}
代码示例来源:origin: redfish64/TinyTravelTracker
boolean isConstructed()
{
if (!empty)
{
if (explicit)
{
return true;
}
else
{
ASN1Primitive primitive = obj.toASN1Primitive().toDLObject();
return primitive.isConstructed();
}
}
else
{
return true;
}
}
代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on
boolean isConstructed()
{
if (!empty)
{
if (explicit)
{
return true;
}
else
{
ASN1Primitive primitive = obj.toASN1Primitive().toDLObject();
return primitive.isConstructed();
}
}
else
{
return true;
}
}
代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on
boolean isConstructed()
{
if (!empty)
{
if (explicit)
{
return true;
}
else
{
ASN1Primitive primitive = obj.toASN1Primitive().toDERObject();
return primitive.isConstructed();
}
}
else
{
return true;
}
}
代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on
if (primitive.isConstructed())
代码示例来源:origin: redfish64/TinyTravelTracker
if (primitive.isConstructed())
代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on
if (primitive.isConstructed())
代码示例来源:origin: redfish64/TinyTravelTracker
if (primitive.isConstructed())
内容来源于网络,如有侵权,请联系作者删除!