CSPspEmu.Core.Crypto.Kirk._kirk_4_7_get_key C# (CSharp) Method

_kirk_4_7_get_key() public method

public _kirk_4_7_get_key ( int key_type ) : byte[]
key_type int
return byte[]
        public byte[] _kirk_4_7_get_key(int key_type)
        {
            switch (key_type)
            {
                case (0x03): return kirk7_key03;
                case (0x04): return kirk7_key04;
                case (0x05): return kirk7_key05;
                case (0x0C): return kirk7_key0C;
                case (0x0D): return kirk7_key0D;
                case (0x0E): return kirk7_key0E;
                case (0x0F): return kirk7_key0F;
                case (0x10): return kirk7_key10;
                case (0x11): return kirk7_key11;
                case (0x12): return kirk7_key12;
                case (0x38): return kirk7_key38;
                case (0x39): return kirk7_key39;
                case (0x3A): return kirk7_key3A;
                case (0x4B): return kirk7_key4B;
                case (0x53): return kirk7_key53;
                case (0x57): return kirk7_key57;
                case (0x5D): return kirk7_key5D;
                case (0x63): return kirk7_key63;
                case (0x64): return kirk7_key64;
                default: throw(new NotImplementedException(String.Format("Invalid Key Type: 0x{0:X}", key_type)));
                    //throw (new KirkException(KIRK_INVALID_SIZE));
                //default: return (byte*)KIRK_INVALID_SIZE; break; //need to get the real error code for that, placeholder now :)
            }
        }