fido-uaf-protocol-v1.0

EXAMPLE 1: Policy matching either a FPS-, or Face Recognition-based Authenticator

{
    "accepted":
    [
    [{ "userVerification": 2}],
    [{ "userVerification": 16}]
    ]
}

EXAMPLE 2: Policy matching authenticators implementing FPS and Face Recognition as alternative combination of user verification methods.
{
    "accepted":
    [
    [{ "userVerification": 18}]
    ]
}
EXAMPLE 3: Policy matching authenticators implementing FPS and Face Recognition as mandatory combination of user verification methods.
{
    "accepted": [ [{ "userVerification": 1042}] ]
}
EXAMPLE 4: Policy matching the combination of a FPS based and a Face Recognition based authenticator
{
    "accepted":
    [
    [{ "userVerification": 18}]
    ]
}

EXAMPLE 5: Policy requiring the combination of a bound FPS based and a bound Face Recognition based authenticator
{
    "accepted":
    [
    [
    { "userVerification": 2, "attachmentHint": 1},
    { "userVerification": 16, "attachmentHint": 1}
    ]
    ]
}

EXAMPLE 6: Policy accepting all authenticators from vendor with ID 1234
{
    "accepted":
    [ [{ "vendorID": "1234"}] ]
}



EXAMPLE 7: UAF Registration Request
[{
    "header": {
        "upv": {
            "major": 1,
            "minor": 0
        },
        "op": "Reg",
        "appID": "https://uaf-test-1.noknoktest.com:8443/SampleApp/uaf/facets",
        "serverData": "IjycjPZYiWMaQ1tKLrJROiXQHmYG0tSSYGjP5mgjsDaM17RQgq0
        dl3NNDDTx9d-aSR_6hGgclrU2F2Yj-12S67v5VmQHj4eWVseLulHdpk2v_hHtKSvv_DFqL4n
        2IiUY6XZWVbOnvg"
    },
    "challenge": "H9iW9yA9aAXF_lelQoi_DhUk514Ad8Tqv0zCnCqKDpo",
    "username": "apa",
    "policy": {
        "accepted": [
        [
        {
            "userVerification": 512,
            "keyProtection": 1,
            "tcDisplay": 1,
            "authenticationAlgorithms": [
            1
            ],
            "assertionSchemes": [
            "UAFV1TLV"
            ]
        }
        ],
        [
        {
            "userVerification": 4,
            "keyProtection": 1,
            "tcDisplay": 1,
            "authenticationAlgorithms": [
            1
            ],
            "assertionSchemes": [
            "UAFV1TLV"
            ]
        }
        ],
        [
        {
            "userVerification": 4,
            "keyProtection": 1,
            "tcDisplay": 1,
            "authenticationAlgorithms": [
            2
            ]
        }
        ],
        [
        {
            "userVerification": 2,
            "keyProtection": 4,
            "tcDisplay": 1,
            "authenticationAlgorithms": [
            2
            ]
        }
        ],
        [
        {
            "userVerification": 4,
            "keyProtection": 2,
            "tcDisplay": 1,
            "authenticationAlgorithms": [
            1
            ,
            3
            ]
        }
        ],
        [
        {
            "userVerification": 2,
            "keyProtection": 2,
            "authenticationAlgorithms": [
            2
            ]
        }
        ],
        [
        {
            "userVerification": 32,
            "keyProtection": 2,
            "assertionSchemes": [
            "UAFV1TLV"
            ]
        },
        {
            "userVerification": 2,
            "authenticationAlgorithms": [
            1,
            3
            ],
            "assertionSchemes": [
            "UAFV1TLV"
            ]
        },
        {
            "userVerification": 2,
            "authenticationAlgorithms": [
            1
            ,
            3
            ],
            "assertionSchemes": [
            "UAFV1TLV"
            ]
        },
        {
            "userVerification": 4,
            "keyProtection": 1,
            "authenticationAlgorithms": [
            1
            ,
            3
            ],
            "assertionSchemes": [
            "UAFV1TLV"
            ]
        }
        ]
        ],
        "disallowed": [
        {
            "userVerification": 512,
            "keyProtection": 16,
            "assertionSchemes": [
            "UAFV1TLV"
            ]
        },
        {
            "userVerification": 256,
            "keyProtection": 16
        },
        {
            "aaid": [
            "ABCD#ABCD"
            ],
            "keyIDs": [
            "RfY_RDhsf4z5PCOhnZExMeVloZZmK0hxaSi10tkY_c4"
            ]
        }
        ]
    }
}]

 

转载于:https://www.cnblogs.com/luolizhi/p/5994106.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值