Class ConfounderedDesCheckSum

All Implemented Interfaces:
CheckSumTypeHandler, CryptoTypeHandler
Direct Known Subclasses:
DesCbcCheckSum, RsaMd4DesCheckSum, RsaMd5DesCheckSum

public abstract class ConfounderedDesCheckSum extends AbstractKeyedCheckSumTypeHandler
  • Constructor Details

    • ConfounderedDesCheckSum

      public ConfounderedDesCheckSum(HashProvider hashProvider, int computeSize, int outputSize)
  • Method Details

    • doChecksumWithKey

      protected byte[] doChecksumWithKey(byte[] data, int start, int len, byte[] key, int usage) throws org.apache.kerby.kerberos.kerb.KrbException
      Overrides:
      doChecksumWithKey in class AbstractKeyedCheckSumTypeHandler
      Throws:
      org.apache.kerby.kerberos.kerb.KrbException
    • deriveKey

      protected byte[] deriveKey(byte[] key)
    • xorKey

      protected byte[] xorKey(byte[] key)
    • verifyWithKey

      public boolean verifyWithKey(byte[] data, byte[] key, int usage, byte[] checksum) throws org.apache.kerby.kerberos.kerb.KrbException
      Specified by:
      verifyWithKey in interface CheckSumTypeHandler
      Overrides:
      verifyWithKey in class AbstractKeyedCheckSumTypeHandler
      Throws:
      org.apache.kerby.kerberos.kerb.KrbException