Searched refs:targetType (Results 1 – 2 of 2) sorted by relevance
592 Class<T> targetType) throws Asn1DecodingException { in convert() argument593 if (ByteBuffer.class.equals(targetType)) { in convert()595 } else if (byte[].class.equals(targetType)) { in convert()603 } else if (Asn1OpaqueObject.class.equals(targetType)) { in convert()609 if ((int.class.equals(targetType)) || (Integer.class.equals(targetType))) { in convert()611 } else if ((long.class.equals(targetType)) || (Long.class.equals(targetType))) { in convert()613 } else if (BigInteger.class.equals(targetType)) { in convert()618 if (String.class.equals(targetType)) { in convert()624 if (String.class.equals(targetType)) { in convert()631 if (boolean.class.equals(targetType)) { in convert()[all …]
502 public static byte[] toDer(Object source, Asn1Type targetType, Asn1Type targetElementType) in toDer() argument512 if ((targetType == null) || (targetType == Asn1Type.ANY)) { in toDer()516 switch (targetType) { in toDer()531 BerEncoding.getTagNumber(targetType), in toDer()553 BerEncoding.getTagNumber(targetType), ((String) source).getBytes()); in toDer()590 "Unsupported conversion: " + sourceType.getName() + " to ASN.1 " + targetType); in toDer()