Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for calculateMacHMACAES (0.07 sec)

  1. src/test/java/jcifs/pac/PacMacTest.java

            assertNotNull(mac4);
            assertEquals(16, mac4.length);
        }
    
        /**
         * Test method for
         * {@link jcifs.pac.PacMac#calculateMacHMACAES(int, javax.security.auth.kerberos.KerberosKey, byte[])}.
         *
         * @throws GeneralSecurityException
         */
        @Test
        void testCalculateMacHMACAES() throws GeneralSecurityException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacMac.java

         * @return the calculated MAC bytes (truncated to 12 bytes)
         * @throws GeneralSecurityException if cryptographic operations fail
         */
        public static byte[] calculateMacHMACAES(int usage, KerberosKey baseKey, byte[] input) throws GeneralSecurityException {
            byte[] cst = { (byte) (usage >> 24 & 0xFF), (byte) (usage >> 16 & 0xFF), (byte) (usage >> 8 & 0xFF), (byte) (usage & 0xFF),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top