Class: AsposeCadCloud::PdfDigitalSignatureHashAlgorithmCore
- Inherits:
-
Object
- Object
- AsposeCadCloud::PdfDigitalSignatureHashAlgorithmCore
- Defined in:
- lib/aspose_cad_cloud/models/pdf_digital_signature_hash_algorithm_core.rb
Constant Summary collapse
- SHA1 =
"Sha1".freeze
- SHA256 =
"Sha256".freeze
- SHA384 =
"Sha384".freeze
- SHA512 =
"Sha512".freeze
- MD5 =
"Md5".freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
17 18 19 20 21 |
# File 'lib/aspose_cad_cloud/models/pdf_digital_signature_hash_algorithm_core.rb', line 17 def build_from_hash(value) constantValues = PdfDigitalSignatureHashAlgorithmCore.constants.select{|c| PdfDigitalSignatureHashAlgorithmCore::const_get(c) == value} raise "Invalid ENUM value #{value} for class #PdfDigitalSignatureHashAlgorithmCore" if constantValues.empty? value end |