Home
last modified time | relevance | path

Searched refs:tagNumber (Results 1 – 15 of 15) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1DerEncoder.java177 int tagNumber; in toSequenceOrSetOf() local
182 tagNumber = BerEncoding.TAG_NUMBER_SET; in toSequenceOrSetOf()
184 tagNumber = BerEncoding.TAG_NUMBER_SEQUENCE; in toSequenceOrSetOf()
187 BerEncoding.TAG_CLASS_UNIVERSAL, true, tagNumber, in toSequenceOrSetOf()
368 if (annotation.tagNumber() != -1) { in AnnotatedField()
377 int tagNumber; in AnnotatedField() local
378 if (annotation.tagNumber() != -1) { in AnnotatedField()
379 tagNumber = annotation.tagNumber(); in AnnotatedField()
381 tagNumber = -1; in AnnotatedField()
383 tagNumber = BerEncoding.getTagNumber(mDataType); in AnnotatedField()
[all …]
DAsn1BerParser.java367 if (annotation.tagNumber() != -1) { in AnnotatedField()
376 int tagNumber; in AnnotatedField() local
377 if (annotation.tagNumber() != -1) { in AnnotatedField()
378 tagNumber = annotation.tagNumber(); in AnnotatedField()
380 tagNumber = -1; in AnnotatedField()
382 tagNumber = BerEncoding.getTagNumber(mDataType); in AnnotatedField()
384 mBerTagNumber = tagNumber; in AnnotatedField()
388 && (annotation.tagNumber() == -1)) { in AnnotatedField()
DAsn1Field.java38 public int tagNumber() default -1; in tagNumber() method
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
DBerEncoding.java159 public static String tagClassAndNumberToString(int tagClass, int tagNumber) { in tagClassAndNumberToString() argument
161 String numberString = tagNumberToString(tagNumber); in tagClassAndNumberToString()
166 public static String tagNumberToString(int tagNumber) { in tagNumberToString() argument
167 switch (tagNumber) { in tagNumberToString()
189 return "0x" + Integer.toHexString(tagNumber); in tagNumberToString()
222 public static byte setTagNumber(byte firstIdentifierByte, int tagNumber) { in setTagNumber() argument
223 return (byte) ((firstIdentifierByte & ~0x1f) | tagNumber); in setTagNumber()
DByteBufferBerDataValueReader.java42 int tagNumber = readTagNumber(firstIdentifierByte); in readDataValue() local
90 tagNumber); in readDataValue()
94 int tagNumber = BerEncoding.getTagNumber(firstIdentifierByte); in readTagNumber() local
95 if (tagNumber == 0x1f) { in readTagNumber()
102 return tagNumber; in readTagNumber()
DInputStreamBerDataValueReader.java59 int tagNumber = readTagNumber(in, firstIdentifierByte); in readDataValue() local
96 tagNumber); in readDataValue()
104 int tagNumber = BerEncoding.getTagNumber((byte) firstIdentifierByte); in readTagNumber() local
105 if (tagNumber == 0x1f) { in readTagNumber()
110 return tagNumber; in readTagNumber()
DBerDataValue.java36 int tagNumber) { in BerDataValue() argument
41 mTagNumber = tagNumber; in BerDataValue()
/tools/apksig/src/main/java/com/android/apksig/internal/x509/
DTBSCertificate.java38 tagging = Asn1Tagging.EXPLICIT, tagNumber = 0)
63 tagNumber = 1)
70 tagNumber = 2)
77 tagNumber = 3)
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/
DAsn1BerParserTest.java349 tagging = Asn1Tagging.IMPLICIT, tagNumber = 1)
362 tagging = Asn1Tagging.EXPLICIT, tagNumber = 1)
383 @Asn1Field(type = Asn1Type.SEQUENCE, tagging = Asn1Tagging.IMPLICIT, tagNumber = 0)
386 @Asn1Field(type = Asn1Type.SEQUENCE, tagging = Asn1Tagging.EXPLICIT, tagNumber = 1)
DAsn1DerEncoderTest.java272 @Asn1Field(type = Asn1Type.OBJECT_IDENTIFIER, tagging = Asn1Tagging.IMPLICIT, tagNumber = 0)
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DSignedData.java45 tagging = Asn1Tagging.IMPLICIT, tagNumber = 0,
52 tagging = Asn1Tagging.IMPLICIT, tagNumber = 1,
DSignerInfo.java45 tagging = Asn1Tagging.IMPLICIT, tagNumber = 0,
58 tagging = Asn1Tagging.IMPLICIT, tagNumber = 1,
DSignerIdentifier.java34 @Asn1Field(type = Asn1Type.OCTET_STRING, tagging = Asn1Tagging.IMPLICIT, tagNumber = 0)
DContentInfo.java34 @Asn1Field(index = 2, type = Asn1Type.ANY, tagging = Asn1Tagging.EXPLICIT, tagNumber = 0)
DEncapsulatedContentInfo.java37 tagging = Asn1Tagging.EXPLICIT, tagNumber = 0,