InvalidKeyDataException.Reason.PROTO_PARSE, null);
}
coreBytes = data.getCore();
// Parse the core, containing the security/usage constraints
KeyCore core;
try {
core = KeyCore.parseFrom(coreBytes, protoRegistry);
} catch (InvalidProtocolBufferException ex) {
throw new InvalidKeyDataException(
InvalidKeyDataException.Reason.PROTO_PARSE, ex);