org.bouncycastle.crypto

## Class CryptoServicesRegistrar

- java.lang.Object
- - org.bouncycastle.crypto.CryptoServicesRegistrar

-     public class CryptoServicesRegistrar
      extends Object

  Registry for cryptographic services and utilities. Provides secure random source and constraint checking functionality.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CryptoServicesRegistrar()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `checkConstraints(CryptoServiceProperties csp)`
    `static SecureRandom` | `getSecureRandom(SecureRandom secureRandom)` Return the default source of randomness.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CryptoServicesRegistrar

          public CryptoServicesRegistrar()

  - ### Method Detail

    - #### checkConstraints

          public static void checkConstraints(CryptoServiceProperties csp)

    - #### getSecureRandom

          public static SecureRandom getSecureRandom(SecureRandom secureRandom)

      Return the default source of randomness.
      Returns:
        the default SecureRandom