Class DesCbcMd4Enc

All Implemented Interfaces:
CryptoTypeHandler, EncTypeHandler

public class DesCbcMd4Enc extends AbstractEncTypeHandler
  • Constructor Details

    • DesCbcMd4Enc

      public DesCbcMd4Enc()
  • Method Details

    • eType

      public org.apache.kerby.kerberos.kerb.type.base.EncryptionType eType()
    • checksumType

      public org.apache.kerby.kerberos.kerb.type.base.CheckSumType checksumType()
    • prf

      public byte[] prf(byte[] key, byte[] seed) throws org.apache.kerby.kerberos.kerb.KrbException
      Throws:
      org.apache.kerby.kerberos.kerb.KrbException
    • paddingLength

      protected int paddingLength(int inputLen)
      Specified by:
      paddingLength in class AbstractEncTypeHandler
    • encryptWith

      protected void encryptWith(byte[] workBuffer, int[] workLens, byte[] key, byte[] iv, int usage, boolean raw) throws org.apache.kerby.kerberos.kerb.KrbException
      Overrides:
      encryptWith in class AbstractEncTypeHandler
      Throws:
      org.apache.kerby.kerberos.kerb.KrbException
    • decryptWith

      protected byte[] decryptWith(byte[] workBuffer, int[] workLens, byte[] key, byte[] iv, int usage, boolean raw) throws org.apache.kerby.kerberos.kerb.KrbException
      Overrides:
      decryptWith in class AbstractEncTypeHandler
      Throws:
      org.apache.kerby.kerberos.kerb.KrbException