Cloud Key Management Service (KMS) V1 API - Class Google::Cloud::Kms::V1::Digest (v1.7.0)

Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::Digest.

A Digest holds a cryptographic message digest.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#sha256

  def 
  
 sha256 
 () 
  
 - 
>  
 :: 
 String 
 
Returns
  • (::String) — A message digest produced with the SHA-256 algorithm.

    Note: The following fields are mutually exclusive: sha256 , sha384 , sha512 . If a field in that set is populated, all other fields in the set will automatically be cleared.

#sha256=

  def 
  
 sha256= 
 ( 
 value 
 ) 
  
 - 
>  
 :: 
 String 
 
Parameter
  • value(::String) — A message digest produced with the SHA-256 algorithm.

    Note: The following fields are mutually exclusive: sha256 , sha384 , sha512 . If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — A message digest produced with the SHA-256 algorithm.

    Note: The following fields are mutually exclusive: sha256 , sha384 , sha512 . If a field in that set is populated, all other fields in the set will automatically be cleared.

#sha384

  def 
  
 sha384 
 () 
  
 - 
>  
 :: 
 String 
 
Returns
  • (::String) — A message digest produced with the SHA-384 algorithm.

    Note: The following fields are mutually exclusive: sha384 , sha256 , sha512 . If a field in that set is populated, all other fields in the set will automatically be cleared.

#sha384=

  def 
  
 sha384= 
 ( 
 value 
 ) 
  
 - 
>  
 :: 
 String 
 
Parameter
  • value(::String) — A message digest produced with the SHA-384 algorithm.

    Note: The following fields are mutually exclusive: sha384 , sha256 , sha512 . If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — A message digest produced with the SHA-384 algorithm.

    Note: The following fields are mutually exclusive: sha384 , sha256 , sha512 . If a field in that set is populated, all other fields in the set will automatically be cleared.

#sha512

  def 
  
 sha512 
 () 
  
 - 
>  
 :: 
 String 
 
Returns
  • (::String) — A message digest produced with the SHA-512 algorithm.

    Note: The following fields are mutually exclusive: sha512 , sha256 , sha384 . If a field in that set is populated, all other fields in the set will automatically be cleared.

#sha512=

  def 
  
 sha512= 
 ( 
 value 
 ) 
  
 - 
>  
 :: 
 String 
 
Parameter
  • value(::String) — A message digest produced with the SHA-512 algorithm.

    Note: The following fields are mutually exclusive: sha512 , sha256 , sha384 . If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — A message digest produced with the SHA-512 algorithm.

    Note: The following fields are mutually exclusive: sha512 , sha256 , sha384 . If a field in that set is populated, all other fields in the set will automatically be cleared.

Design a Mobile Site
View Site in Mobile | Classic
Share by: