// Copyright (c) 2010 CA.  All rights reserved.
//
// Cryptographic permissions for the SiteMinder Agent API.
// This file specifies the algorithms in use and their respective maximum key sizes. In the case
// of RC2, the effective key strength is also specified.
//
// Currently the permissions granted by this policy are *more* restrictive then the default
// "strong" policy with the exception of the RC2 key size (though the key strength remains the
// same). The permission for "all algorithms" specifies a key size equal to the minimum
// allowable key size found in the Java 6 strong policy.

grant {
    // The SiteMinder Agent API requires the following cipher key sizes and strengths
    permission javax.crypto.CryptoPermission "RC2", 192, "javax.crypto.spec.RC2ParameterSpec", 128;
    permission javax.crypto.CryptoPermission "RC4", 128;
    permission javax.crypto.CryptoPermission "DESede", 192;
    permission javax.crypto.CryptoPermission "AES", 128;

    // The JCA requires a "catch all" permission
    permission javax.crypto.CryptoPermission *, 64;
};
