public class VersionAwareIdentityService extends Object implements IdentityService
Note that this class implements a service. Hence, is not a part of the public API and is a subject to change.
Constructor and Description |
---|
VersionAwareIdentityService(ApplicationService applicationService) |
Modifier and Type | Method and Description |
---|---|
protected PeerId |
buildPeerId(byte[] versionPrefix) |
PeerId |
getLocalPeerId() |
Optional<SecretKey> |
getSecretKey() |
@Inject public VersionAwareIdentityService(ApplicationService applicationService)
protected PeerId buildPeerId(byte[] versionPrefix)
public PeerId getLocalPeerId()
getLocalPeerId
in interface IdentityService
public Optional<SecretKey> getSecretKey()
getSecretKey
in interface IdentityService
Copyright © 2016–2021. All rights reserved.