Home
last modified time | relevance | path

Searched refs:Asn1Type (Results 1 – 17 of 17) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/internal/asn1/
DAsn1BerParserTest.java274 @Asn1Class(type = Asn1Type.SEQUENCE)
277 @Asn1Class(type = Asn1Type.SEQUENCE)
279 @Asn1Field(index = 1, type = Asn1Type.INTEGER)
282 @Asn1Field(index = 2, type = Asn1Type.INTEGER)
285 @Asn1Field(index = 3, type = Asn1Type.INTEGER)
288 @Asn1Field(index = 4, type = Asn1Type.INTEGER)
291 @Asn1Field(index = 5, type = Asn1Type.INTEGER)
295 @Asn1Class(type = Asn1Type.SEQUENCE)
297 @Asn1Field(index = 0, type = Asn1Type.OBJECT_IDENTIFIER)
301 @Asn1Class(type = Asn1Type.SEQUENCE)
[all …]
DAsn1DerEncoderTest.java150 @Asn1Class(type = Asn1Type.SEQUENCE)
153 @Asn1Field(index = 1, type = Asn1Type.INTEGER)
161 @Asn1Class(type = Asn1Type.SEQUENCE)
164 @Asn1Field(index = 1, type = Asn1Type.OBJECT_IDENTIFIER)
172 @Asn1Class(type = Asn1Type.SEQUENCE)
175 @Asn1Field(index = 1, type = Asn1Type.OCTET_STRING)
183 @Asn1Class(type = Asn1Type.CHOICE)
186 @Asn1Field(type = Asn1Type.INTEGER)
189 @Asn1Field(type = Asn1Type.OBJECT_IDENTIFIER, tagging = Asn1Tagging.IMPLICIT, tagNumber = 0)
206 @Asn1Class(type = Asn1Type.SEQUENCE)
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DSignerInfo.java22 import com.android.apksig.internal.asn1.Asn1Type;
30 @Asn1Class(type = Asn1Type.SEQUENCE)
33 @Asn1Field(index = 0, type = Asn1Type.INTEGER)
36 @Asn1Field(index = 1, type = Asn1Type.CHOICE)
39 @Asn1Field(index = 2, type = Asn1Type.SEQUENCE)
44 type = Asn1Type.SET_OF,
49 @Asn1Field(index = 4, type = Asn1Type.SEQUENCE)
52 @Asn1Field(index = 5, type = Asn1Type.OCTET_STRING)
57 type = Asn1Type.SET_OF,
DSignedData.java22 import com.android.apksig.internal.asn1.Asn1Type;
30 @Asn1Class(type = Asn1Type.SEQUENCE)
33 @Asn1Field(index = 0, type = Asn1Type.INTEGER)
36 @Asn1Field(index = 1, type = Asn1Type.SET_OF)
39 @Asn1Field(index = 2, type = Asn1Type.SEQUENCE)
44 type = Asn1Type.SET_OF,
51 type = Asn1Type.SET_OF,
56 @Asn1Field(index = 5, type = Asn1Type.SET_OF)
DAttribute.java22 import com.android.apksig.internal.asn1.Asn1Type;
28 @Asn1Class(type = Asn1Type.SEQUENCE)
31 @Asn1Field(index = 0, type = Asn1Type.OBJECT_IDENTIFIER)
34 @Asn1Field(index = 1, type = Asn1Type.SET_OF)
DSignerIdentifier.java21 import com.android.apksig.internal.asn1.Asn1Type;
28 @Asn1Class(type = Asn1Type.CHOICE)
31 @Asn1Field(type = Asn1Type.SEQUENCE)
34 @Asn1Field(type = Asn1Type.OCTET_STRING, tagging = Asn1Tagging.IMPLICIT, tagNumber = 0)
DAlgorithmIdentifier.java22 import com.android.apksig.internal.asn1.Asn1Type;
27 @Asn1Class(type = Asn1Type.SEQUENCE)
30 @Asn1Field(index = 0, type = Asn1Type.OBJECT_IDENTIFIER)
33 @Asn1Field(index = 1, type = Asn1Type.ANY, optional = true)
DContentInfo.java22 import com.android.apksig.internal.asn1.Asn1Type;
28 @Asn1Class(type = Asn1Type.SEQUENCE)
31 @Asn1Field(index = 1, type = Asn1Type.OBJECT_IDENTIFIER)
34 @Asn1Field(index = 2, type = Asn1Type.ANY, tagging = Asn1Tagging.EXPLICIT, tagNumber = 0)
DEncapsulatedContentInfo.java21 import com.android.apksig.internal.asn1.Asn1Type;
28 @Asn1Class(type = Asn1Type.SEQUENCE)
31 @Asn1Field(index = 0, type = Asn1Type.OBJECT_IDENTIFIER)
36 type = Asn1Type.OCTET_STRING,
DIssuerAndSerialNumber.java22 import com.android.apksig.internal.asn1.Asn1Type;
28 @Asn1Class(type = Asn1Type.SEQUENCE)
31 @Asn1Field(index = 0, type = Asn1Type.ANY)
34 @Asn1Field(index = 1, type = Asn1Type.INTEGER)
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1Field.java32 public Asn1Type type(); in type()
44 public Asn1Type elementType() default Asn1Type.ANY; in elementType()
DAsn1DerEncoder.java61 Asn1Type containerType = containerAnnotation.type(); in encode()
143 private static byte[] toSetOf(Collection<?> values, Asn1Type elementType) in toSetOf()
304 private final Asn1Type mDataType;
305 private final Asn1Type mElementDataType;
334 } else if ((mDataType == Asn1Type.CHOICE) || (mDataType == Asn1Type.ANY)) { in AnnotatedField()
456 public static byte[] toDer(Object source, Asn1Type targetType, Asn1Type targetElementType) in toDer()
466 if ((targetType == null) || (targetType == Asn1Type.ANY)) { in toDer()
507 && (containerAnnotation.type() == Asn1Type.SEQUENCE)) { in toDer()
517 && (containerAnnotation.type() == Asn1Type.CHOICE)) { in toDer()
DAsn1BerParser.java119 Asn1Type dataType = getContainerAsn1Type(containerClass); in parse()
301 private static Asn1Type getContainerAsn1Type(Class<?> containerClass) in getContainerAsn1Type()
341 private final Asn1Type mDataType;
367 } else if ((mDataType == Asn1Type.CHOICE) || (mDataType == Asn1Type.ANY)) { in AnnotatedField()
550 Object obj, Field field, Asn1Type type, BerDataValue dataValue) in setFieldValue()
578 Asn1Type sourceType, in convert()
616 && (containerAnnotation.type() == Asn1Type.SEQUENCE)) { in convert()
626 && (containerAnnotation.type() == Asn1Type.CHOICE)) { in convert()
DAsn1Type.java19 public enum Asn1Type { enum
DAsn1Class.java27 public Asn1Type type(); in type()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
DBerEncoding.java19 import com.android.apksig.internal.asn1.Asn1Type;
83 public static int getTagNumber(Asn1Type dataType) { in getTagNumber()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java28 import com.android.apksig.internal.asn1.Asn1Type;
2067 @Asn1Class(type = Asn1Type.CHOICE)
2069 @Asn1Field(type = Asn1Type.OCTET_STRING)
2073 @Asn1Class(type = Asn1Type.CHOICE)
2075 @Asn1Field(type = Asn1Type.OBJECT_IDENTIFIER)