Class Algorithms


  • final class Algorithms
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.security.Provider bouncyCastle  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Algorithms()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.security.Provider bouncyCastle()  
      (package private) static java.security.KeyPairGenerator keyPairGenerator​(java.lang.String keyType, java.security.spec.AlgorithmParameterSpec spec, java.security.SecureRandom rng, java.security.Provider provider)  
      (package private) static java.lang.String oidForAlgorithmName​(java.lang.String algorithmIdentifier)  
      (package private) static java.security.Signature signature​(java.lang.String algorithmIdentifier, java.security.Provider provider)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bouncyCastle

        private static java.security.Provider bouncyCastle
    • Constructor Detail

      • Algorithms

        private Algorithms()
    • Method Detail

      • oidForAlgorithmName

        static java.lang.String oidForAlgorithmName​(java.lang.String algorithmIdentifier)
      • keyPairGenerator

        static java.security.KeyPairGenerator keyPairGenerator​(java.lang.String keyType,
                                                               java.security.spec.AlgorithmParameterSpec spec,
                                                               java.security.SecureRandom rng,
                                                               java.security.Provider provider)
                                                        throws java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException
      • signature

        static java.security.Signature signature​(java.lang.String algorithmIdentifier,
                                                 java.security.Provider provider)
                                          throws java.security.NoSuchAlgorithmException
        Throws:
        java.security.NoSuchAlgorithmException
      • bouncyCastle

        private static java.security.Provider bouncyCastle()