Class DeviceTwinInfoX509Thumbprint

java.lang.Object
com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoX509Thumbprint

public final class DeviceTwinInfoX509Thumbprint extends Object
The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store. The thumbprint is dynamically generated using the SHA1 algorithm, and does not physically exist in the certificate.
  • Constructor Details

    • DeviceTwinInfoX509Thumbprint

      public DeviceTwinInfoX509Thumbprint()
  • Method Details

    • getPrimaryThumbprint

      public String getPrimaryThumbprint()
      Get the primaryThumbprint property: Primary thumbprint for the x509 certificate.
      Returns:
      the primaryThumbprint value.
    • setPrimaryThumbprint

      public DeviceTwinInfoX509Thumbprint setPrimaryThumbprint(String primaryThumbprint)
      Set the primaryThumbprint property: Primary thumbprint for the x509 certificate.
      Parameters:
      primaryThumbprint - the primaryThumbprint value to set.
      Returns:
      the DeviceTwinInfoX509Thumbprint object itself.
    • getSecondaryThumbprint

      public String getSecondaryThumbprint()
      Get the secondaryThumbprint property: Secondary thumbprint for the x509 certificate.
      Returns:
      the secondaryThumbprint value.
    • setSecondaryThumbprint

      public DeviceTwinInfoX509Thumbprint setSecondaryThumbprint(String secondaryThumbprint)
      Set the secondaryThumbprint property: Secondary thumbprint for the x509 certificate.
      Parameters:
      secondaryThumbprint - the secondaryThumbprint value to set.
      Returns:
      the DeviceTwinInfoX509Thumbprint object itself.