@MarshalsPointer public static SecKeyParameters toObject(Class<SecKeyParameters> cls, long handle, long flags) { CFDictionary o = (CFDictionary) CFType.Marshaler.toObject(CFDictionary.class, handle, flags); if (o == null) { return null; } return new SecKeyParameters(o); } @MarshalsPointer
@MarshalsPointer public static long toNative(List<SecKeyParameters> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (SecKeyParameters i : l) { array.add(i.getDictionary()); } return CFType.Marshaler.toNative(array, flags); } }
/** * @since Available in iOS 2.0 and later. */ public SecKeyParameters setPrivateAttributes(SecAttributes privateAttributes) { set(Keys.PrivateAttributes(), privateAttributes.getDictionary()); return this; } /**
public <T extends NativeObject> T get(CFType key, Class<T> type) { if (has(key)) { return data.get(key, type); } return null; } public SecKeyParameters set(CFType key, NativeObject value) {
/** * @since Available in iOS 2.0 and later. */ public SecKeyParameters setPublicAttributes(SecAttributes publicAttributes) { set(Keys.PublicAttributes(), publicAttributes.getDictionary()); return this; } /*</methods>*/
public <T extends NativeObject> T get(CFType key, Class<T> type) { if (has(key)) { return data.get(key, type); } return null; } public SecKeyParameters set(CFType key, NativeObject value) {
@MarshalsPointer public static List<SecKeyParameters> toObject(Class<? extends CFType> cls, long handle, long flags) { CFArray o = (CFArray) CFType.Marshaler.toObject(CFArray.class, handle, flags); if (o == null) { return null; } List<SecKeyParameters> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(new SecKeyParameters(o.get(i, CFDictionary.class))); } return list; } @MarshalsPointer
/** * @since Available in iOS 2.0 and later. */ public SecKeyParameters setPrivateAttributes(SecAttributes privateAttributes) { set(Keys.PrivateAttributes(), privateAttributes.getDictionary()); return this; } /**
public <T extends NativeObject> T get(CFType key, Class<T> type) { if (has(key)) { return data.get(key, type); } return null; } public SecKeyParameters set(CFType key, NativeObject value) {
@MarshalsPointer public static long toNative(List<SecKeyParameters> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (SecKeyParameters i : l) { array.add(i.getDictionary()); } return CFType.Marshaler.toNative(array, flags); } }
@MarshalsPointer public static SecKeyParameters toObject(Class<SecKeyParameters> cls, long handle, long flags) { CFDictionary o = (CFDictionary) CFType.Marshaler.toObject(CFDictionary.class, handle, flags); if (o == null) { return null; } return new SecKeyParameters(o); } @MarshalsPointer
/** * @since Available in iOS 2.0 and later. */ public SecKeyParameters setPublicAttributes(SecAttributes publicAttributes) { set(Keys.PublicAttributes(), publicAttributes.getDictionary()); return this; } /*</methods>*/
@MarshalsPointer public static long toNative(List<SecKeyParameters> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (SecKeyParameters i : l) { array.add(i.getDictionary()); } return CFType.Marshaler.toNative(array, flags); } }
@MarshalsPointer public static SecKeyParameters toObject(Class<SecKeyParameters> cls, long handle, long flags) { CFDictionary o = (CFDictionary) CFType.Marshaler.toObject(CFDictionary.class, handle, flags); if (o == null) { return null; } return new SecKeyParameters(o); } @MarshalsPointer
/** * @since Available in iOS 2.0 and later. */ public SecKeyParameters setPublicAttributes(SecAttributes publicAttributes) { set(Keys.PublicAttributes(), publicAttributes.getDictionary()); return this; } /*</methods>*/