Package org.yamcs.security.sdls
Interface SdlsSecurityAssociationFactory
- All Known Implementing Classes:
SecurityAssociationAes256Gcm128Factory
public interface SdlsSecurityAssociationFactory
An interface for Security Association factories. A factory pattern is needed because a Security Association
constructor itself might take varying arguments, depending on the exact implementation.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(String instanceName, String linkName, short spi, YConfiguration args) getSpec()
-
Method Details
-
create
SdlsSecurityAssociation create(String instanceName, String linkName, short spi, YConfiguration args) - Parameters:
instanceName- the Yamcs instancelinkName- the link on which the SA is usedspi- the SDLS Security Parameter Index, identifying the SAargs- custom arguments to be used while constructing the SA- Returns:
- the Security Association
-
getSpec
Spec getSpec()- Returns:
- the Yamcs configuration spec
-