Class FixityServiceImpl

  • All Implemented Interfaces:
    org.fcrepo.kernel.api.services.FixityService

    @Component
    public class FixityServiceImpl
    extends AbstractService
    implements org.fcrepo.kernel.api.services.FixityService
    Implementation of FixityService
    Author:
    dbernstein, whikloj
    • Method Detail

      • getFixity

        public Collection<URIgetFixity​(org.fcrepo.kernel.api.models.Binary binary,
                                         Collection<String> algorithms)
                                  throws org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException
        Specified by:
        getFixity in interface org.fcrepo.kernel.api.services.FixityService
        Throws:
        org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException
      • checkFixity

        public org.fcrepo.kernel.api.RdfStream checkFixity​(org.fcrepo.kernel.api.models.Binary binary)
                                                    throws org.fcrepo.kernel.api.exception.InvalidChecksumException
        Specified by:
        checkFixity in interface org.fcrepo.kernel.api.services.FixityService
        Throws:
        org.fcrepo.kernel.api.exception.InvalidChecksumException