Keyczar.KeySet.GetKeyData C# (CSharp) Method

GetKeyData() public method

Gets the binary data that the key is stored in.
public GetKeyData ( int version ) : byte[]
version int The version.
return byte[]
        public byte[] GetKeyData(int version)
        {
            var path = Path.Combine(_location, version.ToString(CultureInfo.InvariantCulture));
            return File.ReadAllBytes(path);
        }