Class PublicKeyChainRecord

java.lang.Object
org.gridgain.internal.security.key.store.PublicKeyChainRecord

public class PublicKeyChainRecord extends Object
Key history record.
  • Constructor Details

    • PublicKeyChainRecord

      public PublicKeyChainRecord(PublicKeyRecord keyRecord, @Nullable @Nullable PublicKeyRecord prevKeyRecord)
      Constructor.
      Parameters:
      keyRecord - Key record.
      prevKeyRecord - Previous key record.
  • Method Details

    • merge

      public PublicKeyChainRecord merge(PublicKeyRecord newKeyRecord)
      Merge two key history records. The new record will be the head of the chain. The old record will be the previous key.
      Parameters:
      newKeyRecord - Other key history record.
      Returns:
      New key history record.
    • keyRecord

      public PublicKeyRecord keyRecord()
    • prevKeyRecord

      @Nullable public @Nullable PublicKeyRecord prevKeyRecord()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object