Home
last modified time | relevance | path

Searched refs:targetType (Results 1 – 2 of 2) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java580 Class<T> targetType) throws Asn1DecodingException { in convert() argument
581 if (ByteBuffer.class.equals(targetType)) { in convert()
583 } else if (byte[].class.equals(targetType)) { in convert()
591 } else if (Asn1OpaqueObject.class.equals(targetType)) { in convert()
598 if ((int.class.equals(targetType)) || (Integer.class.equals(targetType))) { in convert()
600 } else if ((long.class.equals(targetType)) || (Long.class.equals(targetType))) { in convert()
602 } else if (BigInteger.class.equals(targetType)) { in convert()
607 if (String.class.equals(targetType)) { in convert()
614 targetType.getDeclaredAnnotation(Asn1Class.class); in convert()
617 return parseSequence(dataValue, targetType); in convert()
[all …]
DAsn1DerEncoder.java456 public static byte[] toDer(Object source, Asn1Type targetType, Asn1Type targetElementType) in toDer() argument
466 if ((targetType == null) || (targetType == Asn1Type.ANY)) { in toDer()
470 switch (targetType) { in toDer()
529 "Unsupported conversion: " + sourceType.getName() + " to ASN.1 " + targetType); in toDer()