refactor the init validation of AuthorityKeyIdentifier

Fixes #2640
2 files changed