Class GcmSpecUtil


  • public class GcmSpecUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      GcmSpecUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static GCMParameters extractGcmParameters​(java.security.spec.AlgorithmParameterSpec paramSpec)  
      static java.security.spec.AlgorithmParameterSpec extractGcmSpec​(ASN1Primitive spec)  
      static boolean gcmSpecExists()  
      static boolean isGcmSpec​(java.lang.Class paramSpecClass)  
      static boolean isGcmSpec​(java.security.spec.AlgorithmParameterSpec paramSpec)  
      • Methods inherited from class java.lang.Object

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

      • GcmSpecUtil

        public GcmSpecUtil()
    • Method Detail

      • gcmSpecExists

        public static boolean gcmSpecExists()
      • isGcmSpec

        public static boolean isGcmSpec​(java.security.spec.AlgorithmParameterSpec paramSpec)
      • isGcmSpec

        public static boolean isGcmSpec​(java.lang.Class paramSpecClass)
      • extractGcmSpec

        public static java.security.spec.AlgorithmParameterSpec extractGcmSpec​(ASN1Primitive spec)
                                                                        throws java.security.spec.InvalidParameterSpecException
        Throws:
        java.security.spec.InvalidParameterSpecException
      • extractGcmParameters

        public static GCMParameters extractGcmParameters​(java.security.spec.AlgorithmParameterSpec paramSpec)
                                                  throws java.security.spec.InvalidParameterSpecException
        Throws:
        java.security.spec.InvalidParameterSpecException