IcySon55_RomPackTool/RomPackTool.Core/Sony/VitaRif.cs
using Komponent.IO.Attributes;

namespace RomPackTool.Core.Sony
{
    /// <summary>
    /// Vita License RIF
    /// </summary>
    public class VitaRif
    {
        /// <summary>
        /// Unknown bytes.
        /// </summary>
        [FixedLength(0x10)]
        public byte[] Header;

        /// <summary>
        /// The long TitleID.
        /// </summary>
        [FixedLength(0x30, StringEncoding = StringEncoding.ASCII)]
        public string ContentID;

        /// <summary>
        /// Unknown bytes.
        /// </summary>
        [FixedLength(0x10)]
        public byte[] Unk2;

        /// <summary>
        /// Unknown bytes.
        /// </summary>
        [FixedLength(0x10)]
        public byte[] NoNpDrmLicense;

        /// <summary>
        /// Unknown bytes.
        /// </summary>
        [FixedLength(0x1A0)]
        public byte[] Padding;
    }
}
