Class ObjectHandleIterator

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Iterator<com.sun.jna.NativeLong>

    public class ObjectHandleIterator
    extends Object
    implements Closeable, Iterator<com.sun.jna.NativeLong>
    This is a helper class to iterate over the security module objects. Use with try to ensure the iterator is closed.
    Author:
    Kobus Grobler
    • Constructor Detail

      • ObjectHandleIterator

        public ObjectHandleIterator​(@NonNull
                                    @NonNull EHSMLibrary lib,
                                    @NonNull
                                    @NonNull com.sun.jna.NativeLong session,
                                    @NonNull
                                    @NonNull CKAttribute[] attributes)