Searched defs:tagNo (Results 1 - 15 of 15) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DBERApplicationSpecific.java6 public BERApplicationSpecific(int tagNo, ASN1EncodableVector vec) argument
8 super(tagNo, vec);
H A DBERTaggedObject.java15 * @param tagNo the tag number for this object.
19 int tagNo,
22 super(true, tagNo, obj);
27 * @param tagNo the tag number for this object.
32 int tagNo,
35 super(explicit, tagNo, obj);
43 int tagNo)
45 super(false, tagNo, new BERSequence());
79 return StreamUtil.calculateTagLength(tagNo) + StreamUtil.calculateBodyLength(length) + length;
86 return StreamUtil.calculateTagLength(tagNo)
18 BERTaggedObject( int tagNo, ASN1Encodable obj) argument
30 BERTaggedObject( boolean explicit, int tagNo, ASN1Encodable obj) argument
42 BERTaggedObject( int tagNo) argument
[all...]
H A DDERTaggedObject.java17 * @param tagNo the tag number for this object.
22 int tagNo,
25 super(explicit, tagNo, obj);
28 public DERTaggedObject(int tagNo, ASN1Encodable encodable) argument
30 super(true, tagNo, encodable);
64 return StreamUtil.calculateTagLength(tagNo) + StreamUtil.calculateBodyLength(length) + length;
71 return StreamUtil.calculateTagLength(tagNo) + length;
76 return StreamUtil.calculateTagLength(tagNo) + 1;
90 out.writeTag(BERTags.CONSTRUCTED | BERTags.TAGGED, tagNo);
109 out.writeTag(flags, tagNo);
20 DERTaggedObject( boolean explicit, int tagNo, ASN1Encodable obj) argument
[all...]
H A DDLTaggedObject.java17 * @param tagNo the tag number for this object.
22 int tagNo,
25 super(explicit, tagNo, obj);
58 return StreamUtil.calculateTagLength(tagNo) + StreamUtil.calculateBodyLength(length) + length;
65 return StreamUtil.calculateTagLength(tagNo) + length;
70 return StreamUtil.calculateTagLength(tagNo) + 1;
84 out.writeTag(BERTags.CONSTRUCTED | BERTags.TAGGED, tagNo);
103 out.writeTag(flags, tagNo);
109 out.writeEncoded(BERTags.CONSTRUCTED | BERTags.TAGGED, tagNo, ZERO_BYTES);
20 DLTaggedObject( boolean explicit, int tagNo, ASN1Encodable obj) argument
H A DStreamUtil.java83 static int calculateTagLength(int tagNo) argument
88 if (tagNo >= 31)
90 if (tagNo < 128)
99 stack[--pos] = (byte)(tagNo & 0x7F);
103 tagNo >>= 7;
104 stack[--pos] = (byte)(tagNo & 0x7F | 0x80);
106 while (tagNo > 127);
H A DBERGenerator.java22 int tagNo,
29 _tagNo = tagNo;
20 BERGenerator( OutputStream out, int tagNo, boolean isExplicit) argument
H A DBEROctetStringGenerator.java19 int tagNo,
23 super(out, tagNo, isExplicit);
17 BEROctetStringGenerator( OutputStream out, int tagNo, boolean isExplicit) argument
H A DASN1InputStream.java130 int tagNo,
140 return new DERApplicationSpecific(isConstructed, tagNo, defIn.toByteArray());
145 return new ASN1StreamParser(defIn).readTaggedObject(isConstructed, tagNo);
151 switch (tagNo)
180 throw new IOException("unknown tag " + tagNo + " encountered");
184 return createPrimitiveDERObject(tagNo, defIn, tmpBuffers);
224 int tagNo = readTagNumber(this, tag);
245 return new BERApplicationSpecificParser(tagNo, sp).getLoadedObject();
250 return new BERTaggedObjectParser(true, tagNo, sp).getLoadedObject();
254 switch (tagNo)
128 buildObject( int tag, int tagNo, int length) argument
418 createPrimitiveDERObject( int tagNo, DefiniteLengthInputStream defIn, byte[][] tmpBuffers) argument
[all...]
H A DASN1OutputStream.java74 void writeTag(int flags, int tagNo) argument
77 if (tagNo < 31)
79 write(flags | tagNo);
84 if (tagNo < 128)
86 write(tagNo);
93 stack[--pos] = (byte)(tagNo & 0x7F);
97 tagNo >>= 7;
98 stack[--pos] = (byte)(tagNo & 0x7F | 0x80);
100 while (tagNo > 127);
107 void writeEncoded(int flags, int tagNo, byt argument
[all...]
H A DASN1TaggedObject.java14 int tagNo; field in class:ASN1TaggedObject
60 * @param tagNo the tag number for this object.
65 int tagNo,
77 this.tagNo = tagNo;
106 if (tagNo != other.tagNo || empty != other.empty || explicit != other.explicit)
131 int code = tagNo;
148 return tagNo;
221 return new DERTaggedObject(explicit, tagNo, ob
63 ASN1TaggedObject( boolean explicit, int tagNo, ASN1Encodable obj) argument
[all...]
H A DDERApplicationSpecific.java69 public DERApplicationSpecific(int tagNo, ASN1EncodableVector vec) argument
71 this.tag = tagNo;
240 int tagNo = input[0] & 0x1f;
245 if (tagNo == 0x1f)
247 tagNo = 0;
260 tagNo |= (b & 0x7f);
261 tagNo <<= 7;
265 tagNo |= (b & 0x7f);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
H A DECPrivateKeyStructure.java97 private ASN1Primitive getObjectInTag(int tagNo) argument
108 if (tag.getTagNo() == tagNo)
H A DECPrivateKey.java112 private ASN1Primitive getObjectInTag(int tagNo) argument
123 if (tag.getTagNo() == tagNo)
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DCMSUtils.java245 int tagNo, boolean isExplicit, int bufferSize) throws IOException
247 BEROctetStringGenerator octGen = new BEROctetStringGenerator(s, tagNo, isExplicit);
244 createBEROctetOutputStream(OutputStream s, int tagNo, boolean isExplicit, int bufferSize) argument
/external/srec/tools/grxmlcompile/
H A Dgr_iface.cpp141 void Graph::AddTag (SubGraph *subg, int tagNo) argument
143 subg->AddTag (tagNo);
145 subg->DebugPrintLabel (tagNo);

Completed in 238 milliseconds