Added HasOUValue func to ClientIdentity that checks if an OU with a specified value is present in the client's X509 cert.
This way granular access control in the chaincode can also be done based on OU values instead of only on attributes from the custom extra extension in the cert that is not supported by external CA services.
Link to JIRA item FABCG-12: https://jira.hyperledger.org/browse/FABCG-12
Added HasOUValue func to ClientIdentity that checks if an OU with a specified value is present in the client's X509 cert.
This way granular access control in the chaincode can also be done based on OU values instead of only on attributes from the custom extra extension in the cert that is not supported by external CA services. Link to JIRA item FABCG-12: https://jira.hyperledger.org/browse/FABCG-12