diff --git a/DVD/CSS&CPRM.cs b/DVD/CSS&CPRM.cs index bf7336b..3cf921d 100644 --- a/DVD/CSS&CPRM.cs +++ b/DVD/CSS&CPRM.cs @@ -173,5 +173,59 @@ namespace Aaru.Decoders.DVD /// Bytes 4 to 2052 Disc key for CSS, Album Identifier for CPPM public byte[] Key; } + + public struct TitleKey + { + /// Bytes 0 to 1 Data length + public ushort DataLength; + /// Byte 2 Reserved + public byte Reserved1; + /// Byte 3 Reserved + public byte Reserved2; + /// Byte 4 CPM + public byte CMI; + /// Bytes 5 to 10 Title key for CSS + public byte[] Key; + /// Byte 11 Reserved + public byte Reserved3; + /// Byte 12 Reserved + public byte Reserved4; + } + + public struct AuthenticationSuccessFlag + { + /// Bytes 0 to 1 Data length + public ushort DataLength; + /// Byte 2 Reserved + public byte Reserved1; + /// Byte 3 Reserved + public byte Reserved2; + /// Byte 4 Reserved + public byte Reserved3; + /// Byte 5 Reserved + public byte Reserved4; + /// Byte 6 Reserved + public byte Reserved5; + /// Byte 7 Reserved and ASF + public byte ASF; + } + + public struct RegionalPlaybackControlState + { + /// Bytes 0 to 1 Data length + public ushort DataLength; + /// Byte 2 Reserved + public byte Reserved1; + /// Byte 3 Reserved + public byte Reserved2; + /// Byte 4 Type Code and # of Vendor Resets Available and # of User Controlled Changes Available + public byte TypeCode_VendorResetsAvailable_UserControlledChangesAvailable; + /// Byte 5 Region Mask + public byte RegionMask; + /// Byte 6 RPC Scheme + public byte RPCScheme; + /// Byte 7 Reserved + public byte Reserved3; + } } } \ No newline at end of file