Merge pull request #2641 from reaperhulk/fix-2640

refactor the init validation of AuthorityKeyIdentifier