Enum SignAlgorithmType

    • Method Detail

      • values

        public static SignAlgorithmType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SignAlgorithmType c : SignAlgorithmType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SignAlgorithmType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • valueOf

        public static SignAlgorithmType valueOf​(PublicKey publicKey)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        publicKey - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getBouncyKeyAlgorithmName

        public String getBouncyKeyAlgorithmName()
      • getBouncySignatureAlgorithmName

        public String getBouncySignatureAlgorithmName()
      • getDigestUrn

        public String getDigestUrn()
      • getDigestUri

        public String getDigestUri()
      • getSignUrn

        public String getSignUrn()
      • getSignUri

        public String getSignUri()
      • getSignatureAlgorithmName

        public String getSignatureAlgorithmName()
      • getAvailableParameterSpecificationNames

        public List<String> getAvailableParameterSpecificationNames()
      • getHashAlgorithmOid

        public String getHashAlgorithmOid()
      • getEncryptionAlgorithmOid

        public String getEncryptionAlgorithmOid()