/** * 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)); }
/** * 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)); }
boolean isConstructed() { if (!empty) { if (explicit) { return true; } else { ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); return primitive.isConstructed(); } } else { return true; } }
boolean isConstructed() { if (!empty) { if (explicit) { return true; } else { ASN1Primitive primitive = obj.toASN1Primitive().toDLObject(); return primitive.isConstructed(); } } else { return true; } }
boolean isConstructed() { if (!empty) { if (explicit) { return true; } else { ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); return primitive.isConstructed(); } } else { return true; } }
boolean isConstructed() { if (!empty) { if (explicit) { return true; } else { ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); return primitive.isConstructed(); } } else { return true; } }
boolean isConstructed() { if (!empty) { if (explicit) { return true; } else { ASN1Primitive primitive = obj.toASN1Primitive().toDLObject(); return primitive.isConstructed(); } } else { return true; } }
boolean isConstructed() { if (!empty) { if (explicit) { return true; } else { ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); return primitive.isConstructed(); } } else { return true; } }
if (primitive.isConstructed())
if (primitive.isConstructed())
if (primitive.isConstructed())
if (primitive.isConstructed())