Home
last modified time | relevance | path

Searched refs:Asn1Field (Results 1 – 24 of 24) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/internal/asn1/
DAsn1BerParserTest.java321 @Asn1Field(index = 1, type = Asn1Type.INTEGER)
324 @Asn1Field(index = 2, type = Asn1Type.INTEGER)
327 @Asn1Field(index = 3, type = Asn1Type.INTEGER)
330 @Asn1Field(index = 4, type = Asn1Type.INTEGER)
333 @Asn1Field(index = 5, type = Asn1Type.INTEGER)
339 @Asn1Field(index = 0, type = Asn1Type.OBJECT_IDENTIFIER)
345 @Asn1Field(index = 1, type = Asn1Type.INTEGER)
348 @Asn1Field(index = 2, type = Asn1Type.INTEGER, optional = true,
352 @Asn1Field(index = 3, type = Asn1Type.INTEGER)
358 @Asn1Field(index = 1, type = Asn1Type.INTEGER)
[all …]
DAsn1DerEncoderTest.java225 @Asn1Field(index = 1, type = Asn1Type.INTEGER)
236 @Asn1Field(index = 1, type = Asn1Type.OBJECT_IDENTIFIER)
247 @Asn1Field(index = 1, type = Asn1Type.OCTET_STRING)
258 @Asn1Field(index = 1, type = Asn1Type.BIT_STRING)
269 @Asn1Field(type = Asn1Type.INTEGER)
272 @Asn1Field(type = Asn1Type.OBJECT_IDENTIFIER, tagging = Asn1Tagging.IMPLICIT, tagNumber = 0)
291 @Asn1Field(type = Asn1Type.SET_OF, elementType = Asn1Type.INTEGER)
303 @Asn1Field(type = Asn1Type.INTEGER, index = 0)
306 @Asn1Field(type = Asn1Type.OBJECT_IDENTIFIER, index = 1, optional = true)
309 @Asn1Field(type = Asn1Type.OCTET_STRING, index = 2)
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/x509/
DTBSCertificate.java20 import com.android.apksig.internal.asn1.Asn1Field;
35 @Asn1Field(
41 @Asn1Field(index = 1, type = Asn1Type.INTEGER)
44 @Asn1Field(index = 2, type = Asn1Type.SEQUENCE)
47 @Asn1Field(index = 3, type = Asn1Type.CHOICE)
50 @Asn1Field(index = 4, type = Asn1Type.SEQUENCE)
53 @Asn1Field(index = 5, type = Asn1Type.CHOICE)
56 @Asn1Field(index = 6, type = Asn1Type.SEQUENCE)
59 @Asn1Field(index = 7,
66 @Asn1Field(index = 8,
[all …]
DExtension.java20 import com.android.apksig.internal.asn1.Asn1Field;
30 @Asn1Field(index = 0, type = Asn1Type.OBJECT_IDENTIFIER)
33 @Asn1Field(index = 1, type = Asn1Type.BOOLEAN, optional = true)
36 @Asn1Field(index = 2, type = Asn1Type.OCTET_STRING)
DCertificate.java20 import com.android.apksig.internal.asn1.Asn1Field;
46 @Asn1Field(index = 0, type = Asn1Type.SEQUENCE)
49 @Asn1Field(index = 1, type = Asn1Type.SEQUENCE)
52 @Asn1Field(index = 2, type = Asn1Type.BIT_STRING)
DTime.java20 import com.android.apksig.internal.asn1.Asn1Field;
29 @Asn1Field(type = Asn1Type.UTC_TIME)
32 @Asn1Field(type = Asn1Type.GENERALIZED_TIME)
DValidity.java20 import com.android.apksig.internal.asn1.Asn1Field;
29 @Asn1Field(index = 0, type = Asn1Type.CHOICE)
32 @Asn1Field(index = 1, type = Asn1Type.CHOICE)
DRSAPublicKey.java20 import com.android.apksig.internal.asn1.Asn1Field;
30 @Asn1Field(index = 0, type = Asn1Type.INTEGER)
33 @Asn1Field(index = 1, type = Asn1Type.INTEGER)
DAttributeTypeAndValue.java20 import com.android.apksig.internal.asn1.Asn1Field;
30 @Asn1Field(index = 0, type = Asn1Type.OBJECT_IDENTIFIER)
33 @Asn1Field(index = 1, type = Asn1Type.ANY)
DSubjectPublicKeyInfo.java20 import com.android.apksig.internal.asn1.Asn1Field;
31 @Asn1Field(index = 0, type = Asn1Type.SEQUENCE)
34 @Asn1Field(index = 1, type = Asn1Type.BIT_STRING)
DName.java20 import com.android.apksig.internal.asn1.Asn1Field;
32 @Asn1Field(index = 0, type = Asn1Type.SEQUENCE_OF)
DRelativeDistinguishedName.java20 import com.android.apksig.internal.asn1.Asn1Field;
31 @Asn1Field(index = 0, type = Asn1Type.SET_OF)
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DSignerInfo.java20 import com.android.apksig.internal.asn1.Asn1Field;
33 @Asn1Field(index = 0, type = Asn1Type.INTEGER)
36 @Asn1Field(index = 1, type = Asn1Type.CHOICE)
39 @Asn1Field(index = 2, type = Asn1Type.SEQUENCE)
42 @Asn1Field(
49 @Asn1Field(index = 4, type = Asn1Type.SEQUENCE)
52 @Asn1Field(index = 5, type = Asn1Type.OCTET_STRING)
55 @Asn1Field(
DSignedData.java20 import com.android.apksig.internal.asn1.Asn1Field;
33 @Asn1Field(index = 0, type = Asn1Type.INTEGER)
36 @Asn1Field(index = 1, type = Asn1Type.SET_OF)
39 @Asn1Field(index = 2, type = Asn1Type.SEQUENCE)
42 @Asn1Field(
49 @Asn1Field(
56 @Asn1Field(index = 5, type = Asn1Type.SET_OF)
DAttribute.java20 import com.android.apksig.internal.asn1.Asn1Field;
31 @Asn1Field(index = 0, type = Asn1Type.OBJECT_IDENTIFIER)
34 @Asn1Field(index = 1, type = Asn1Type.SET_OF)
DContentInfo.java20 import com.android.apksig.internal.asn1.Asn1Field;
31 @Asn1Field(index = 1, type = Asn1Type.OBJECT_IDENTIFIER)
34 @Asn1Field(index = 2, type = Asn1Type.ANY, tagging = Asn1Tagging.EXPLICIT, tagNumber = 0)
DSignerIdentifier.java20 import com.android.apksig.internal.asn1.Asn1Field;
31 @Asn1Field(type = Asn1Type.SEQUENCE)
34 @Asn1Field(type = Asn1Type.OCTET_STRING, tagging = Asn1Tagging.IMPLICIT, tagNumber = 0)
DEncapsulatedContentInfo.java20 import com.android.apksig.internal.asn1.Asn1Field;
31 @Asn1Field(index = 0, type = Asn1Type.OBJECT_IDENTIFIER)
34 @Asn1Field(
DIssuerAndSerialNumber.java20 import com.android.apksig.internal.asn1.Asn1Field;
31 @Asn1Field(index = 0, type = Asn1Type.ANY)
34 @Asn1Field(index = 1, type = Asn1Type.INTEGER)
DAlgorithmIdentifier.java31 import com.android.apksig.internal.asn1.Asn1Field;
47 @Asn1Field(index = 0, type = Asn1Type.OBJECT_IDENTIFIER)
50 @Asn1Field(index = 1, type = Asn1Type.ANY, optional = true)
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1DerEncoder.java80 "No fields annotated with " + Asn1Field.class.getName() in toChoice()
219 Asn1Field annotation = field.getDeclaredAnnotation(Asn1Field.class); in getAnnotatedFields()
225 Asn1Field.class.getName() + " used on a static field: " in getAnnotatedFields()
349 private final Asn1Field mAnnotation;
358 public AnnotatedField(Object obj, Field field, Asn1Field annotation) in AnnotatedField()
401 public Asn1Field getAnnotation() { in getAnnotation()
DAsn1BerParser.java151 "No fields annotated with " + Asn1Field.class.getName() in parseChoice()
352 private final Asn1Field mAnnotation;
360 public AnnotatedField(Field field, Asn1Field annotation) throws Asn1DecodingException { in AnnotatedField()
400 public Asn1Field getAnnotation() { in getAnnotation()
533 Asn1Field annotation = field.getDeclaredAnnotation(Asn1Field.class); in getAnnotatedFields()
539 Asn1Field.class.getName() + " used on a static field: " in getAnnotatedFields()
DAsn1Field.java26 public @interface Asn1Field { annotation
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java32 import com.android.apksig.internal.asn1.Asn1Field;
1530 @Asn1Field(type = Asn1Type.OCTET_STRING)
1536 @Asn1Field(type = Asn1Type.OBJECT_IDENTIFIER)