Class SecRandom

  • public class SecRandom
    extends org.robovm.rt.bro.NativeObject
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SecRandom.SecRandomPtr  
      • Nested classes/interfaces inherited from class org.robovm.rt.bro.NativeObject

    • Constructor Summary

      Modifier Constructor Description
      protected SecRandom()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected int getBytes​(long count, long bytes)  
      static SecRandom getDefault()  
      byte[] getRandomBytes​(int count)  
      • Methods inherited from class org.robovm.rt.bro.NativeObject

        as, equals, getHandle, hashCode, setHandle
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecRandom

        protected SecRandom()
    • Method Detail

      • getRandomBytes

        public byte[] getRandomBytes​(int count)
        Available in iOS 2.0 and later.
      • getDefault

        public static SecRandom getDefault()
        Available in iOS 2.0 and later.
      • getBytes

        protected int getBytes​(long count,
                               long bytes)
        Available in iOS 2.0 and later.