📄 expected-output
字号:
wcout initserver: OwnCredentials:interface OwnCredentials { creds_id = MICO_SL3CSI:0 creds_type = 0 creds_usage = 3 creds_state = 1 interface CredsAcceptor { the_principal = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = SL3:anonymous the_name = { "anonymous" } } with_privileges = { } authenticated = false alternate_names = { } } supporting_statements = { valuetype PrincipalIdentityStatement { the_layer = 1 the_type = 1 encoding_type = null interpretation_aid = null the_principal = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = SL3:anonymous the_name = { "anonymous" } } with_privileges = { } authenticated = false alternate_names = { } } } } restricted_resources = { } environmental_attributes = { PrinAttribute("SL3:TransportMechanism","TCPIP") PrinAttribute("SL3:LocalPort","<unspecified value>") } accepts_endorsement = false accepts_quoting = true expiry_time = UtcT(-1,0,0,0) }}Running.client: OwnCredentials:interface OwnCredentials { creds_id = MICO_SL3CSI:0 creds_type = 0 creds_usage = 4 creds_state = 1 interface CredsInitiator { the_principal = valuetype QuotingPrincipal { the_type = 1 the_name = struct PrincipalName { the_type = oid:2.23.130.1.2.1 the_name = { "karel_identity" } } with_privileges = { } speaking = valuetype ProxyPrincipal { the_type = 2 the_name = struct PrincipalName { the_type = oid:2.23.130.1.2.1 the_name = { "karel" } } with_privileges = { } speaking = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = SL3:anonymous the_name = { "anonymous" } } with_privileges = { } authenticated = false alternate_names = { } } speaks_for = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = oid:2.23.130.1.2.1 the_name = { "karel" } } with_privileges = { } authenticated = true alternate_names = { } } } quotes_for = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = oid:2.23.130.1.2.1 the_name = { "karel_identity" } } with_privileges = { } authenticated = false alternate_names = { } } } supporting_statements = { valuetype PrincipalIdentityStatement { the_layer = 1 the_type = 1 encoding_type = null interpretation_aid = null the_principal = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = SL3:anonymous the_name = { "anonymous" } } with_privileges = { } authenticated = false alternate_names = { } } } valuetype PrincipalIdentityStatement { the_layer = 3 the_type = 1 encoding_type = null interpretation_aid = null the_principal = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = oid:2.23.130.1.2.1 the_name = { "karel" } } with_privileges = { } authenticated = true alternate_names = { } } } valuetype PrincipalIdentityStatement { the_layer = 4 the_type = 1 encoding_type = null interpretation_aid = null the_principal = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = oid:2.23.130.1.2.1 the_name = { "karel_identity" } } with_privileges = { } authenticated = false alternate_names = { } } } } restricted_resources = { } environmental_attributes = { PrinAttribute("SL3:TransportMechanism","TCPIP") } initiator_type = 2 supports_embodiment = false supports_endorsement = false supports_quoting = true expiry_time = UtcT(-1,0,0,0) }}server: Hello Worldserver: ClientCredentials:interface ClientCredentials { creds_id = MICO_SL3CSI:0_ClientCredentials:0 creds_type = 1 creds_usage = 2 creds_state = 1 context_id = CSI_ClientCredentials:0 client_principal = valuetype QuotingPrincipal { the_type = 1 the_name = struct PrincipalName { the_type = oid:2.23.130.1.2.1 the_name = { "karel_identity" } } with_privileges = { } speaking = valuetype ProxyPrincipal { the_type = 2 the_name = struct PrincipalName { the_type = oid:2.23.130.1.2.1 the_name = { "karel" } } with_privileges = { } speaking = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = SL3:anonymous the_name = { "anonymous" } } with_privileges = { } authenticated = false alternate_names = { } } speaks_for = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = oid:2.23.130.1.2.1 the_name = { "karel" } } with_privileges = { } authenticated = true alternate_names = { } } } quotes_for = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = oid:2.23.130.1.2.1 the_name = { "karel_identity" } } with_privileges = { } authenticated = false alternate_names = { } } } client_supporting_statements = { valuetype PrincipalIdentityStatement { the_layer = 1 the_type = 1 encoding_type = null interpretation_aid = null the_principal = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = SL3:anonymous the_name = { "anonymous" } } with_privileges = { } authenticated = false alternate_names = { } } } valuetype PrincipalIdentityStatement { the_layer = 3 the_type = 1 encoding_type = null interpretation_aid = null the_principal = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = oid:2.23.130.1.2.1 the_name = { "karel" } } with_privileges = { } authenticated = true alternate_names = { } } } valuetype PrincipalIdentityStatement { the_layer = 4 the_type = 1 encoding_type = null interpretation_aid = null the_principal = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = oid:2.23.130.1.2.1 the_name = { "karel_identity" } } with_privileges = { } authenticated = false alternate_names = { } } } } client_restricted_resources = { } target_principal = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = SL3:anonymous the_name = { "anonymous" } } with_privileges = { } authenticated = false alternate_names = { } } target_supporting_statements = { valuetype PrincipalIdentityStatement { the_layer = 1 the_type = 1 encoding_type = null interpretation_aid = null the_principal = valuetype SimplePrincipal { the_type = 0 the_name = struct PrincipalName { the_type = SL3:anonymous the_name = { "anonymous" } } with_privileges = { } authenticated = false alternate_names = { } } } } target_restricted_resources = { } environmental_attributes = { PrinAttribute("SL3:TransportMechanism","TCPIP") } parent_credentials = MICO_SL3CSI:0 client_authentication = true target_authentication = false confidentiality = false integrity = false}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -