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 Details

    • create

      SdlsSecurityAssociation create(String instanceName, String linkName, short spi, YConfiguration args)
      Parameters:
      instanceName - the Yamcs instance
      linkName - the link on which the SA is used
      spi - the SDLS Security Parameter Index, identifying the SA
      args - custom arguments to be used while constructing the SA
      Returns:
      the Security Association
    • getSpec

      Spec getSpec()
      Returns:
      the Yamcs configuration spec