1、 KSKSKSKSKSKSKSK KSKSKS KSKSK KSKS KSK KS KS A ISO 26430 6 (D- ) 6: KS A ISO 26430 6:2012 2012 12 31 http:/www.kats.go.krKS A ISO 26430 6:2012 : ( ) ( ) ( ) : (http:/www.standard.go.kr) : :2012 12 31 2012-0858 : : ( 02-509-7278) (http:/www.kats.go.kr). 10 5 , . KS A ISO 26430 6:2012 i ii 1 1 2 1 3 .
2、1 4 ( ) 2 5 , RRP .2 5.1 : ( TLS)2 5.2 : Key Length Value (KLV) .3 5.3 ASM 3 5.4 TLS RRP .4 6 ASM 5 6.1 BadRequest Response.5 6.2 GetTime6 6.3 GetEventList .6 6.4 GetEventID .7 6.5 QuerySPB.8 7 ASM 9 7.1 LEKeyLoad .9 7.2 LEKeyQueryID11 7.3 LEKeyQueryAll .11 7.4 LEKeyPurgeID12 7.5 LEKeyPurgeAll12 A(
3、) (UL) 14 B( ) 16 ZZ( ) 17 KS A ISO 26430 6:2012 ii 2009 1 ISO 26430 6, Digital cinema(D-cinema) operations Part 6:Auditorium security messages for intra-theater communications . KS A ISO 26430 6:2012 (D- ) 6: Digital cinema(D-cinema) operations Part 6: Auditorium security messages for intra-theater
4、 communications 1 (ASM) (D- ) . (Transport Layer Security, TLS) , - - (Key-Length-Value, KLV) . , Request-Response , . 2 . . ( ) . 336M SMPTE 336M-2007, Data Encoding Protocol Using Key-Length-Value Dcert SMPTE 430-2-2006, D-Cinema Operations Digital Certificate IANA Internet Assigned Numbers Author
5、ity. See www.iana.org/assignments/port-numbers KDM SMPTE 430-1-2006, D-Cinema Operations Key Delivery Message Log SMPTE 430-5-2008, D-Cinema Packaging Security Log Event Class and Constraints TLS “The TLS Protocol, Version 1.0” RFC 2246 See www.ietf.org/rfc/rfc2246.txt TLS-AES “AES Cyphersuites for
6、TLS” RFC 3268 See www.ietf.org/rfc/rfc3268.txt 3 . ASM Auditorium Security Message( ) AES Advanced Encryption Standard( ) BER Basic Encoding Rules (ASN.1)( ) CBC Cipher Block Chaining( ) IMB Image Media Block( ) KLV Key Length Value( - - ) LDB Link Decryptor Block( ) KS A ISO 26430 6:2012 2 LE Link
7、Encryption( ) RRP Request Response Pair( - ) RSA Rivest Shamir Adleman public key encryption(Rivest Shamir Adleman ) SHA-1 Secure Hash Algorithm revision 1( 1) SM Security Manager( ) SPB Secure Processing Block( ) TLS Transport Layer Security( ) Uintx Unsigned x bit integer(x ) UL Universal Label( )
8、 UTC Coordinated Universal Time( ) UUID Universally Unique Identifier ( ) (ISO 11578) 4 ( ) (SPBs) ( , SPB SPBs) SPB . 1 . 1 (1) , (2) , (3) (4) . , . ( ). “ (block)” SPB . 5 , RRP (ASM) “Request” ( SPB) “Response” . Request-Response Pair(RRP) . 5.1 : (TLS) (TLS) ASM (TLS ). TLS ( ) TLS X.509 . D- D
9、igital Certificate KS A ISO 26430 6:2012 3 DCert D- . TLS , . TLS 1.0 . 65537 2048 RSA . AES-CBC 128 (TLS-AES ). SHA-1 . CipherSuite “TLS_RSA_WITH_AES_128_CBC_SHA” (0x00, 0x2F) (TLS-AES ). TLS 512 . “null” ( ). ChangeCipherSpec . 5.2 : Key Length Value(KLV) Request Response ASM SMPTE 336M-2001336M K
10、ey Length Value(KLV) . (Universal Label, UL) A , Value . KLV Length 4 (long-form) BER . 12 Value KLV , Length 4 , 0x83 0x00 0x00 0x0C (16 ) . ASM Request-Response Pair(RRP) KLV UL “value” RRP ( A ). ( ) RRP Request Response TLS ( ) . 5.3 ASM . KLV “Key” (16 ). “Length” BER 4 . “Request_ID” . 0 Reque
11、st_ID SM , SM TLS (: ) (Request_ID ). MSB(Most Significant Byte) (big-endian) . “Response” . KS A ISO 26430 6:2012 4 Response UInt8 RRP successful Request . 0 RRP failed Responder Request . 1 RRP invalid 2 ResponderBusy Responder Request . 3 Batch . Batch (: EventIDBatch Event ID Batch ): Batch: . ,
12、 . xxxBatch: 0 “xxx” 8 . 4 , 4 , UInt32 . UL Number of Items Uint32 4 n/a Batch n Item Length Uint32 4 n/a L xxx . . xxx L . 5.4 TLS RRP , , RRP . 1. TLS TLS (TSL ). TLS ( ) ( ) D- . ( ) TLS . ( SPB) ( ) . 2. RRP ( , RRP SPB RRP - ). RRP Request Response . “Request” “Response” . “busy” Response , 6.
13、3 General Response , “busy” KS A ISO 26430 6:2012 5 Response BadRequest Response RRP . ( ) , TLS . 3. SMPTE ASM 1173 D- “ ” RRP (IANA ). ( ) RRP , RRP . 6 ASM SPB ( , SPB ) ASM . 1 SMPTE UL . Request-Response 5.4 (2) ASM 2 Request Response . 1 ASM ASM SMPTE ASM UL BadRequest Request Bad Request Resp
14、onse GetTime_ Request Time Request GetTime Response Time Response GetEventList Request Event List Request GetEventList Response Event List Response GetEventID Request Event ID Request GetEventID Response Event ID Response QuerySPB Request Secure Processing Block Query Request QuerySPB Response Secur
15、e Processing Block Query Response 6.1 BadRequest Response RRP Response “Response” . Request Response . BadRequest Response Request Response . Request ( ). KS A ISO 26430 6:2012 6 BadRequest Response UL Bad Request Response UL Name Pack Key 16 BadRequest Response Length BER Length 4 n/a Request Copy
16、Text Request Response Uint8 1 Response Request_Copy Request . Request_Copy . 5.3 Request “busy” , Request BadRequest Response . “Request Copy” (null) . , 0 . 6.2 GetTime GetTime UTC . . GetTime Request UL Time Request UL Name Pack Key 16 GetTime Request Length BER Length 4 n/a Request ID UInt32 4 Re
17、quest ID GetTime Response UL Time Response UL Name Pack Key 16 GetTime Response Length BER Length 4 n/a Request ID UInt32 4 Response Request IDTime Uint64 8 Response Uint8 1 Response 1970 1 1 00:00:00 UTC 64 . GetTime Response . ( ) (UTC) . SM (SM ) SPB , GetTime . , (: ) . 6.3 GetEventList GetEvent
18、List UTC . ( ) / SPB KS A ISO 26430 6:2012 7 , . / (: ) . , SPB . GetEventList Request UL Event List Request UL Name Pack Key 16 GetEventList Request Length BER Length 4 n/a Request ID Uint32 4 Request ID TimeStart Uint32 4 TimeStop Uint32 4 TimeStart TimeStop UTC . GetEventList Response UL Event Li
19、st Response UL Name Pack Key 16 GetEventList Response Length BER Length 4 n/a Request ID Uint32 4 Response Request ID EventIDBatch Event ID Batch 8+4n ID Batch( ) Response Uint8 1 Response EventIDBatch UL Default Number of Items Uint32 4 n/a Batch n Item Length Uint32 4 n/a 4 Event ID Uint32 4 Event
20、IDBatch Event ID Batch . Event ID . EventIDBatch Event ID . EventIDBatch Number_of_Items Item_length . Batch (TimeStart TimeStop ) Request Event ID ID . 6.4 GetEventID GetEventID (GetEventList Response ) Event ID . . KS A ISO 26430 6:2012 8 GetEventID Request UL Event ID Request UL Name Pack Key 16
21、GetEventID Request Length BER Length 4 n/a Request ID Uint32 4 Request ID Event ID Uint32 4 ID Event ID . GetEventID Response UL Event ID Response UL Name Pack Key 16 GetEventID Length BER Length 4 n/a Request ID Uint32 4 Response Request ID Log Record Text Var Response Uint8 1 Response Log Record .
22、 Log KLV , XML . Log Record Length . ( ) GetEventList GetEventID SPB ( IMB) . (IMB) ( SPB) TLS Log “ (signing proxy)” . (Log ) RRP , . 6.5 QuerySPB QuerySPB SPB . QuerySPB Request UL Secure Processing Block Query Request UL Name Pack Key 16 QuerySPB Request Length BER Length 4 n/a Request ID Uint32
23、4 Request ID QuerySPB Response UL Secure Processing Block Query Response UL Name Pack Key 16 QuerySPB Response Length BER Length 4 n/a Request ID Uint32 4 Response Request ID Protocol_Ver Uint8 1 ASM Status Uint8 1 Response Uint8 1 Response KS A ISO 26430 6:2012 9 Protocol_Ver ASM . 0x01 . . Not pla
24、ying . 0 Playing . 1 Security Alert . 2 ( ) . 7 ASM 2 (LE) ASM . 1 SMPTE UL . 5.4 (2) ASM 2 . 16 Key Key_ID . ( ) ( ) (: SPB ). 2 ASM ASM SMPTE ASM UL LEKeyLoad Request Link Encryption Key Load Request LEKeyLoad Response Link Encryption Key Load Response LEKeyQueryID Request Link Encryption Key Quer
25、y ID Request LEKeyQueryID Response Link Encryption Key Query ID Response LEKeyQuery Request Link Encryption Key Query All Request LEKeyQuery Response Link Encryption Key Query All Response LEKeyQuery All Request Link Encryption Purge ID Request LEKeyQuery All Response Link Encryption Purge ID Response LEKeyPurgeID Request Link Encryption Purge All Request LEKeyPurgeID Response Link Encryption Purge All Response 7.1 LEKeyLoad LEKeyLoad LE (LDB) . KLV Batch . ( ) ( , ) . KS A ISO 26430 6:2012 10 LEKeyLoad Request UL