Class Algorithms

java.lang.Object
io.netty.pkitesting.Algorithms

final class Algorithms extends java.lang.Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private static final class 
     
  • Field Summary

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

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static java.security.Provider
     
    (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 Details

    • bouncyCastle

      private static java.security.Provider bouncyCastle
  • Constructor Details

    • Algorithms

      private Algorithms()
  • Method Details

    • 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()