Class PublicKeyChainRecord
java.lang.Object
org.gridgain.internal.security.key.store.PublicKeyChainRecord
Key history record.
-
Constructor Summary
ConstructorsConstructorDescriptionPublicKeyChainRecord(PublicKeyRecord keyRecord, @Nullable PublicKeyRecord prevKeyRecord) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()merge(PublicKeyRecord newKeyRecord) Merge two key history records.@Nullable PublicKeyRecord
-
Constructor Details
-
PublicKeyChainRecord
public PublicKeyChainRecord(PublicKeyRecord keyRecord, @Nullable @Nullable PublicKeyRecord prevKeyRecord) Constructor.- Parameters:
keyRecord- Key record.prevKeyRecord- Previous key record.
-
-
Method Details
-
merge
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
-
prevKeyRecord
-
equals
-
hashCode
public int hashCode()
-