Interface TrustedChecksumsSource.Writer

Enclosing interface:
TrustedChecksumsSource

public static interface TrustedChecksumsSource.Writer
A writer that is able to write/add trusted checksums to this implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addTrustedArtifactChecksums(org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, Map<String,String> trustedArtifactChecksums)
    Performs whatever implementation requires to "set" (write/add/append) given map of trusted checksums.
  • Method Details

    • addTrustedArtifactChecksums

      void addTrustedArtifactChecksums(org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, Map<String,String> trustedArtifactChecksums) throws IOException
      Performs whatever implementation requires to "set" (write/add/append) given map of trusted checksums. The passed in list of checksum algorithm factories and the map must have equal size and mapping must contain all algorithm names in list.
      Throws:
      IOException